diff options
author | hasso <hasso> | 2004-10-08 08:17:22 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-08 08:17:22 +0000 |
commit | eb1ce6059a00f3f0dd92c965aa5982907b54c00d (patch) | |
tree | ebd6583ba2f2f9909c25653d0349662e08c26ecf /ospfd/ospf_dump.h | |
parent | 2e864cfa12724ec20e82f0a24e1be5929e3a0cef (diff) |
Compiler warnings fixes round 1.
Diffstat (limited to 'ospfd/ospf_dump.h')
-rw-r--r-- | ospfd/ospf_dump.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ospfd/ospf_dump.h b/ospfd/ospf_dump.h index 29d06c9a..5f625ca8 100644 --- a/ospfd/ospf_dump.h +++ b/ospfd/ospf_dump.h @@ -121,16 +121,16 @@ extern unsigned long term_debug_ospf_zebra; extern unsigned long term_debug_ospf_nssa; /* Message Strings. */ -extern char *ospf_packet_type_str[]; +extern const char *ospf_packet_type_str[]; extern char *ospf_lsa_type_str[]; /* Prototypes. */ -char *ospf_area_name_string (struct ospf_area *); -char *ospf_area_desc_string (struct ospf_area *); -char *ospf_if_name_string (struct ospf_interface *); +const char *ospf_area_name_string (struct ospf_area *); +const char *ospf_area_desc_string (struct ospf_area *); +const char *ospf_if_name_string (struct ospf_interface *); void ospf_nbr_state_message (struct ospf_neighbor *, char *, size_t); char *ospf_options_dump (u_char); -char *ospf_timer_dump (struct thread *, char *, size_t); +const char *ospf_timer_dump (struct thread *, char *, size_t); void ospf_ip_header_dump (struct stream *); void ospf_packet_dump (struct stream *); void ospf_lsa_header_dump (struct lsa_header *); |