summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-01-09 18:59:03 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2003-01-09 18:59:03 +0000
commitf32002b0afca7309266af91f8d0ca7a7ec480295 (patch)
tree6612df2c8b6e9a8a99771e125305a4d4ace3f18d /sbin/pfctl
parent02562e4faa46e538bcb449c89640907c01a4e2c2 (diff)
knf
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl_table.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/sbin/pfctl/pfctl_table.c b/sbin/pfctl/pfctl_table.c
index e879a5664df..77a3bf5e9bd 100644
--- a/sbin/pfctl/pfctl_table.c
+++ b/sbin/pfctl/pfctl_table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_table.c,v 1.14 2003/01/09 18:55:32 dhartmei Exp $ */
+/* $OpenBSD: pfctl_table.c,v 1.15 2003/01/09 18:59:02 dhartmei Exp $ */
/*
* Copyright (c) 2002 Cedric Berger
@@ -604,7 +604,8 @@ radix_perror(void)
perror(__progname);
}
-void pfctl_begin_table(void)
+void
+pfctl_begin_table(void)
{
static int hookreg;
int rv;
@@ -622,7 +623,8 @@ void pfctl_begin_table(void)
}
}
-void pfctl_append_addr(char *addr, int net, int neg)
+void
+pfctl_append_addr(char *addr, int net, int neg)
{
char *p = NULL;
@@ -644,7 +646,8 @@ void pfctl_append_addr(char *addr, int net, int neg)
free(p);
}
-void pfctl_define_table(char *name, int flags, int addrs)
+void
+pfctl_define_table(char *name, int flags, int addrs)
{
struct pfr_table tbl;
int rv;
@@ -669,7 +672,8 @@ void pfctl_define_table(char *name, int flags, int addrs)
size = 0;
}
-void pfctl_commit_table(void)
+void
+pfctl_commit_table()
{
int rv;
@@ -683,7 +687,8 @@ void pfctl_commit_table(void)
inactive = 0;
}
-void inactive_cleanup(void)
+void
+inactive_cleanup()
{
if (inactive)
pfr_ina_begin(NULL, NULL, 0);