From 1cd80845dc5262ff7d3d38deb1921f0b8390f4df Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 7 Oct 2004 20:07:40 +0000 Subject: No warnings here any more. --- isisd/isis_misc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'isisd/isis_misc.c') diff --git a/isisd/isis_misc.c b/isisd/isis_misc.c index 53a2a85d..300f02cb 100644 --- a/isisd/isis_misc.c +++ b/isisd/isis_misc.c @@ -64,7 +64,7 @@ char nlpidstring[30]; /* * This converts the isonet to its printable format */ -char * +const char * isonet_print (u_char * from, int len) { int i = 0; @@ -335,7 +335,7 @@ syst2string (int type) /* * Print functions - we print to static vars */ -char * +const char * snpa_print (u_char * from) { int i = 0; @@ -367,7 +367,7 @@ snpa_print (u_char * from) return snpa; } -char * +const char * sysid_print (u_char * from) { int i = 0; @@ -399,7 +399,7 @@ sysid_print (u_char * from) return sysid; } -char * +const char * rawlspid_print (u_char * from) { char *pos = lspid; @@ -417,7 +417,7 @@ rawlspid_print (u_char * from) return lspid; } -char * +const char * time2string (u_int32_t time) { char *pos = datestring; -- cgit v1.2.1