summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_dump.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-08 08:17:22 +0000
committerhasso <hasso>2004-10-08 08:17:22 +0000
commit245a20b6cff0ac7f19c0d0f4ecdf839ffcd59c44 (patch)
treef1fbe419407b7025655cd33a0ea0889f38d5118a /ospfd/ospf_dump.h
parentf0543fc0c5e41a40342e53cc5689b0edb4422da4 (diff)
downloadquagga-245a20b6cff0ac7f19c0d0f4ecdf839ffcd59c44.tar.bz2
quagga-245a20b6cff0ac7f19c0d0f4ecdf839ffcd59c44.tar.xz
Compiler warnings fixes round 1.
Diffstat (limited to 'ospfd/ospf_dump.h')
-rw-r--r--ospfd/ospf_dump.h10
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 *);