summaryrefslogtreecommitdiffstats
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-04-17 16:11:13 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-04-17 16:11:13 +0100
commit825f338d44433fc2d351c08d41272f52a15329db (patch)
tree927c6a37e8dbf4c425d845895500b59ac997fbfb /zebra/rt.h
parent68297cc9dc2eb920dd6e956d0d55098ea9edaafc (diff)
downloadquagga-825f338d44433fc2d351c08d41272f52a15329db.tar.bz2
quagga-825f338d44433fc2d351c08d41272f52a15329db.tar.xz
Fixing declarations to eliminate compiler warnings in zebra.
Only parts of zebra/*.c are compiled and linked, depending on what was chosen at "configure" time. A subset of that is compiled and linked for testzebra. Some things were not declared, or not declared everywhere they were required... leading to a number of compiler warnings. These changes are intended to tidy that up.
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index 8bfe5a42..41e3b070 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -23,6 +23,15 @@
#ifndef _ZEBRA_RT_H
#define _ZEBRA_RT_H
+/* There are (as at 17-Apr-2010) the following rt methods:
+ *
+ * rt_ioctl.c
+ * rt_netlink.c
+ * rt_socket.c
+ *
+ * one of which is selected at "configure" time, see: RT_METHOD
+ */
+
#include "prefix.h"
#include "if.h"
#include "zebra/rib.h"