From b04c699ecfb4704a67f4583e4ea929a6a3e49856 Mon Sep 17 00:00:00 2001 From: hasso Date: Mon, 4 Oct 2004 19:10:31 +0000 Subject: First small part of lib cleanup. Mainly "constification" of arguments and adding FIXME's. --- lib/memory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/memory.h') 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 */ -- cgit v1.2.1