From 1dfc2c167f0c0ee95c98088b2c05b50350b97ddb Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 28 Sep 2002 17:15:38 +0000 Subject: 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 --- sys/kern/sys_pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/sys_pipe.c') diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 17e3bc3..d87eb44 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; -- cgit v1.1