summaryrefslogtreecommitdiffstats
path: root/isisd/topology/spgrid.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-12-08 02:09:50 +0100
committerPaul Jakma <paul.jakma@sun.com>2006-12-08 02:09:50 +0100
commit41b36e9013111a6da812ca000e3b978282bd27a9 (patch)
tree11805d66de677613be7fe5e31626cfbbbbec78a6 /isisd/topology/spgrid.c
parent[zebra] Changes of nexthops of static routes didnt take effect (diff)
downloadfrr-41b36e9013111a6da812ca000e3b978282bd27a9.tar.xz
frr-41b36e9013111a6da812ca000e3b978282bd27a9.zip
[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.
Diffstat (limited to '')
-rw-r--r--isisd/topology/spgrid.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/isisd/topology/spgrid.c b/isisd/topology/spgrid.c
index a1aa6d77e..611b67279 100644
--- a/isisd/topology/spgrid.c
+++ b/isisd/topology/spgrid.c
@@ -26,6 +26,15 @@
#define NODE( x, y ) (x*Y + y + 1)
+/*
+ * Prototypes.
+ */
+void free_arc(void *);
+void help(struct vty *);
+void print_arc(struct vty *, struct list *, long, long, long);
+void hhelp(struct vty *);
+void usage(struct vty *);
+
const char *graph_type[] = {
"double cycle",
"cycle",