diff options
author | Ben Laurie <ben@openssl.org> | 1999-04-17 21:25:43 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-04-17 21:25:43 +0000 |
commit | e778802f53c8d47e96a6e4cbc776eb6e1d4c461a (patch) | |
tree | 719d4dd0fc69b355c6d8329af1f90b2c4f603548 /crypto/buffer | |
parent | d77b3054cd87c2b13fa0169931f74b8e0dac5252 (diff) |
Massive constification.
Diffstat (limited to 'crypto/buffer')
-rw-r--r-- | crypto/buffer/buffer.c | 2 | ||||
-rw-r--r-- | crypto/buffer/buffer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/buffer/buffer.c b/crypto/buffer/buffer.c index b160a74a47..94535956f7 100644 --- a/crypto/buffer/buffer.c +++ b/crypto/buffer/buffer.c @@ -128,7 +128,7 @@ int len; } char *BUF_strdup(str) -char *str; +const char *str; { char *ret; int n; diff --git a/crypto/buffer/buffer.h b/crypto/buffer/buffer.h index 6d6da3d186..20184bed15 100644 --- a/crypto/buffer/buffer.h +++ b/crypto/buffer/buffer.h @@ -74,7 +74,7 @@ typedef struct buf_mem_st BUF_MEM *BUF_MEM_new(void); void BUF_MEM_free(BUF_MEM *a); int BUF_MEM_grow(BUF_MEM *str, int len); -char * BUF_strdup(char *str); +char * BUF_strdup(const char *str); void ERR_load_BUF_strings(void ); |