[isisd] Fix compiler warnings and allow v4-only compilation
2006-12-08 Hannes Gredler <hannes@gredler.at>
* isis_adjacency.c: (isis_new_adj) Allow NULL snpa argument.
* isis_pdu.c: (various) Update calls to isis_new_adj() to pass
NULL and use default.
* (general) Add forward declarations where required.
Fix up const char *'s.
Allow V4-only compilation.
diff --git a/isisd/isis_main.c b/isisd/isis_main.c
index 74fc647..2411518 100644
--- a/isisd/isis_main.c
+++ b/isisd/isis_main.c
@@ -107,6 +107,16 @@
char **_argv;
char **_envp;
+/*
+ * Prototypes.
+ */
+void reload(void);
+void sighup(void);
+void sigint(void);
+void sigterm(void);
+void sigusr1(void);
+
+
/* Help information display. */
static void
usage (int status)