diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-28 17:15:38 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-28 17:15:38 +0000 |
commit | 37c841831ff323187d7f749947244f7e278a14ea (patch) | |
tree | 072f805928e7e540a4d2c0a3a7ec37f7529204a0 /sys/kern/sys_pipe.c | |
parent | 069f4a68411de58c26e4d4080d0396134968830a (diff) | |
download | src-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/sys_pipe.c')
-rw-r--r-- | sys/kern/sys_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 17e3bc3375df..d87eb445d125 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -1154,7 +1154,7 @@ pipe_write(fp, uio, active_cred, flags, td) /* * we implement a very minimal set of ioctls for compatibility with sockets. */ -int +static int pipe_ioctl(fp, cmd, data, active_cred, td) struct file *fp; u_long cmd; @@ -1216,7 +1216,7 @@ pipe_ioctl(fp, cmd, data, active_cred, td) return (ENOTTY); } -int +static int pipe_poll(fp, events, active_cred, td) struct file *fp; int events; |