diff options
author | paul <paul> | 2006-12-08 01:09:50 +0000 |
---|---|---|
committer | paul <paul> | 2006-12-08 01:09:50 +0000 |
commit | 94e86481724f54cd0bb3a3cc16d37bdfaa5eb186 (patch) | |
tree | 25f7a59d038ff4a57f6e49a6a2808dc0b7b9cdaf /isisd/topology/spgrid.c | |
parent | 4a374e82700075fd05c7b84851f523a05a8c0a33 (diff) | |
download | quagga-94e86481724f54cd0bb3a3cc16d37bdfaa5eb186.tar.bz2 quagga-94e86481724f54cd0bb3a3cc16d37bdfaa5eb186.tar.xz |
[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 'isisd/topology/spgrid.c')
-rw-r--r-- | isisd/topology/spgrid.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/isisd/topology/spgrid.c b/isisd/topology/spgrid.c index a1aa6d77..611b6727 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", |