diff options
author | Christian Franke <nobody@nowhere.ws> | 2015-11-10 18:04:43 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-03-30 02:26:12 +0200 |
commit | 02e33d3ed5a72d9a64ab68d7440f1e685fc6ca09 (patch) | |
tree | 066074db6946924f9d0d87b0e1fc289a6af690d0 /isisd/isis_misc.h | |
parent | ripd, isisd: fix warnings that make the build fail (diff) | |
download | frr-02e33d3ed5a72d9a64ab68d7440f1e685fc6ca09.tar.xz frr-02e33d3ed5a72d9a64ab68d7440f1e685fc6ca09.zip |
isisd: annotate some function arguments with const
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_misc.h')
-rw-r--r-- | isisd/isis_misc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/isisd/isis_misc.h b/isisd/isis_misc.h index 0cd65a66a..37eaea154 100644 --- a/isisd/isis_misc.h +++ b/isisd/isis_misc.h @@ -41,14 +41,14 @@ int sysid2buff (u_char *, const char *); /* * Printing functions */ -const char *isonet_print (u_char *, int len); -const char *sysid_print (u_char *); -const char *snpa_print (u_char *); -const char *rawlspid_print (u_char *); +const char *isonet_print (const u_char *, int len); +const char *sysid_print (const u_char *); +const char *snpa_print (const u_char *); +const char *rawlspid_print (const u_char *); const char *time2string (u_int32_t); /* typedef struct nlpids nlpids; */ char *nlpid2string (struct nlpids *); -const char *print_sys_hostname (u_char *sysid); +const char *print_sys_hostname (const u_char *sysid); void zlog_dump_data (void *data, int len); /* |