diff options
author | emaste <emaste@FreeBSD.org> | 2013-04-23 14:36:44 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2013-04-23 14:36:44 +0000 |
commit | ed68431e9eb5f5d79436afe779c4564cc625c69e (patch) | |
tree | eee3d4211d69ff36f950fb608985ae69d9c4c4e1 /lib/libc/stdio/findfp.c | |
parent | 1f1bd98319ba57830e89bfdbf57da9dfa3da9084 (diff) | |
download | FreeBSD-src-ed68431e9eb5f5d79436afe779c4564cc625c69e.zip FreeBSD-src-ed68431e9eb5f5d79436afe779c4564cc625c69e.tar.gz |
Convert libc/stdio from K&R to ANSI C
And add '__restrict' where it appeared in the header prototypes
Diffstat (limited to 'lib/libc/stdio/findfp.c')
-rw-r--r-- | lib/libc/stdio/findfp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c index e8dd382..be196b7 100644 --- a/lib/libc/stdio/findfp.c +++ b/lib/libc/stdio/findfp.c @@ -91,8 +91,7 @@ spinlock_t __stdio_thread_lock = _SPINLOCK_INITIALIZER; #endif static struct glue * -moreglue(n) - int n; +moreglue(int n) { struct glue *g; static FILE empty = { ._fl_mutex = PTHREAD_MUTEX_INITIALIZER }; |