diff options
author | Ed Maste <emaste@FreeBSD.org> | 2013-04-23 14:36:44 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2013-04-23 14:36:44 +0000 |
commit | 5a6307cf42c5b4965435b3b7af74a37fd4dc17b9 (patch) | |
tree | eee3d4211d69ff36f950fb608985ae69d9c4c4e1 /lib/libc/stdio/wsetup.c | |
parent | 5628dd089340472da80d5e3cce2108e155592ecd (diff) |
Convert libc/stdio from K&R to ANSI C
And add '__restrict' where it appeared in the header prototypes
Notes
Notes:
svn path=/head/; revision=249810
Diffstat (limited to 'lib/libc/stdio/wsetup.c')
-rw-r--r-- | lib/libc/stdio/wsetup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/wsetup.c b/lib/libc/stdio/wsetup.c index 341813a18ecb..70f8247c076b 100644 --- a/lib/libc/stdio/wsetup.c +++ b/lib/libc/stdio/wsetup.c @@ -47,8 +47,7 @@ __FBSDID("$FreeBSD$"); * _wsetup returns 0 if OK to write; otherwise, it returns EOF and sets errno. */ int -__swsetup(fp) - FILE *fp; +__swsetup(FILE *fp) { /* make sure stdio is set up */ if (!__sdidinit) |