diff options
author | hasso <hasso> | 2004-10-04 19:10:31 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-04 19:10:31 +0000 |
commit | 2c867c810ec96a5187bc204b3338d710ed027ff7 (patch) | |
tree | 33dd9c518d71db028c5ea690ace614ea768fb35d /lib/memory.h | |
parent | f131d4ceedc8ad48d21543e72c41109c0de7adf0 (diff) | |
download | quagga-2c867c810ec96a5187bc204b3338d710ed027ff7.tar.bz2 quagga-2c867c810ec96a5187bc204b3338d710ed027ff7.tar.xz |
First small part of lib cleanup. Mainly "constification" of arguments and
adding FIXME's.
Diffstat (limited to 'lib/memory.h')
-rw-r--r-- | lib/memory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/memory.h b/lib/memory.h index 40081fe0..c2d595a4 100644 --- a/lib/memory.h +++ b/lib/memory.h @@ -236,7 +236,7 @@ void *zmalloc (int type, size_t size); void *zcalloc (int type, size_t size); void *zrealloc (int type, void *ptr, size_t size); void zfree (int type, void *ptr); -char *zstrdup (int type, char *str); +char *zstrdup (int type, const char *str); void *mtype_zmalloc (const char *file, int line, @@ -263,7 +263,7 @@ void mtype_zfree (const char *file, char *mtype_zstrdup (const char *file, int line, int type, - char *str); + const char *str); void memory_init (); #endif /* _ZEBRA_MEMORY_H */ |