From f32002b0afca7309266af91f8d0ca7a7ec480295 Mon Sep 17 00:00:00 2001 From: Daniel Hartmeier Date: Thu, 9 Jan 2003 18:59:03 +0000 Subject: knf --- sbin/pfctl/pfctl_table.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'sbin/pfctl') 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); -- cgit v1.2.3