summaryrefslogtreecommitdiff
path: root/lib/memory.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-04 19:10:31 +0000
committerhasso <hasso>2004-10-04 19:10:31 +0000
commitb04c699ecfb4704a67f4583e4ea929a6a3e49856 (patch)
tree9149adb41b7bc1acca6c882ab413f68b19b2a64d /lib/memory.h
parent97c52f4e397848fb18c689dfe161d0b8f7803722 (diff)
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.h4
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 */