summaryrefslogtreecommitdiffhomepage
path: root/networking
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-22 17:42:37 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-22 17:42:37 +0000
commit620e57b421e9f575792786eb94a1e67005b4c09c (patch)
tree05f80d469e060f57c0ba8e1642cac9569e3f87dc /networking
parentd0f33b3ce8e475b090acc7183b0df88b285e171d (diff)
- forgot to include ip_common.h
Diffstat (limited to 'networking')
-rw-r--r--networking/libiproute/iprule.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c
index 2a1b3746c..2f3dc9841 100644
--- a/networking/libiproute/iprule.c
+++ b/networking/libiproute/iprule.c
@@ -24,6 +24,7 @@
#include "rt_names.h"
#include "utils.h"
+#include "ip_common.h"
/*
static void usage(void) __attribute__((noreturn));
@@ -158,7 +159,7 @@ static int print_rule(struct sockaddr_nl *who ATTRIBUTE_UNUSED,
return 0;
}
-int iprule_list(int argc, char **argv)
+static int iprule_list(int argc, char **argv)
{
struct rtnl_handle rth;
int af = preferred_family;
@@ -188,7 +189,7 @@ int iprule_list(int argc, char **argv)
}
-int iprule_modify(int cmd, int argc, char **argv)
+static int iprule_modify(int cmd, int argc, char **argv)
{
int table_ok = 0;
struct rtnl_handle rth;