diff options
author | phk <phk@FreeBSD.org> | 2002-09-28 17:15:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-28 17:15:38 +0000 |
commit | 1dfc2c167f0c0ee95c98088b2c05b50350b97ddb (patch) | |
tree | 072f805928e7e540a4d2c0a3a7ec37f7529204a0 /sys/net/rtsock.c | |
parent | 523f5243860c40ec5c7a3e961080d6035dbcb435 (diff) | |
download | FreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.zip FreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.tar.gz |
Be consistent about "static" functions: if the function is marked
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r-- | sys/net/rtsock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 37d351b..40be8d0 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -894,7 +894,7 @@ rt_ifannouncemsg(ifp, what) /* * This is used in dumping the kernel table via sysctl(). */ -int +static int sysctl_dumpentry(rn, vw) struct radix_node *rn; void *vw; @@ -933,7 +933,7 @@ sysctl_dumpentry(rn, vw) return (error); } -int +static int sysctl_iflist(af, w) int af; register struct walkarg *w; |