diff options
author | Paul Jakma <paul.jakma@sun.com> | 2006-12-08 01:09:50 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2006-12-08 01:09:50 +0000 |
commit | 41b36e9013111a6da812ca000e3b978282bd27a9 (patch) | |
tree | 11805d66de677613be7fe5e31626cfbbbbec78a6 /isisd/isis_tlv.c | |
parent | 3c0755dc9772deccff2ba6e9dc0511a9af2b9d1b (diff) |
[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/isis_tlv.c')
-rw-r--r-- | isisd/isis_tlv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/isisd/isis_tlv.c b/isisd/isis_tlv.c index 7b99ab5d..94fa65ed 100644 --- a/isisd/isis_tlv.c +++ b/isisd/isis_tlv.c @@ -45,6 +45,11 @@ extern struct isis *isis; +/* + * Prototypes. + */ +int add_tlv (u_char, u_char, u_char *, struct stream *); + void free_tlv (void *val) { |