aboutsummaryrefslogtreecommitdiffstats
path: root/tc/m_gact.c
diff options
context:
space:
mode:
Diffstat (limited to 'tc/m_gact.c')
-rw-r--r--tc/m_gact.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tc/m_gact.c b/tc/m_gact.c
index 9f07851a..94bd5e73 100644
--- a/tc/m_gact.c
+++ b/tc/m_gact.c
@@ -68,7 +68,7 @@ usage(void)
exit(-1);
}
-int
+static int
get_act(char ***argv_p)
{
char **argv = *argv_p;
@@ -89,8 +89,9 @@ get_act(char ***argv_p)
}
}
-int
-parse_gact(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n)
+static int
+parse_gact(struct action_util *a, int *argc_p, char ***argv_p,
+ int tca_id, struct nlmsghdr *n)
{
int argc = *argc_p;
char **argv = *argv_p;
@@ -202,7 +203,7 @@ parse_gact(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struc
return 0;
}
-int
+static int
print_gact(struct action_util *au,FILE * f, struct rtattr *arg)
{
SPRINT_BUF(b1);