aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-09-28 17:15:38 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-09-28 17:15:38 +0000
commit37c841831ff323187d7f749947244f7e278a14ea (patch)
tree072f805928e7e540a4d2c0a3a7ec37f7529204a0 /sys/kern/kern_sysctl.c
parent069f4a68411de58c26e4d4080d0396134968830a (diff)
downloadsrc-37c841831ff323187d7f749947244f7e278a14ea.tar.gz
src-37c841831ff323187d7f749947244f7e278a14ea.zip
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
Notes
Notes: svn path=/head/; revision=104094
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 57c6be808fba..cf84cd852998 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1091,7 +1091,7 @@ sysctl_find_oid(int *name, u_int namelen, struct sysctl_oid **noid,
* to, and return the resulting error code.
*/
-int
+static int
sysctl_root(SYSCTL_HANDLER_ARGS)
{
struct sysctl_oid *oid;