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/setbuffer.c | |
| parent | 5628dd089340472da80d5e3cce2108e155592ecd (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
| -rw-r--r-- | lib/libc/stdio/setbuffer.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/stdio/setbuffer.c b/lib/libc/stdio/setbuffer.c index 5081ac9653d3..af5eb3cabf6e 100644 --- a/lib/libc/stdio/setbuffer.c +++ b/lib/libc/stdio/setbuffer.c @@ -39,10 +39,7 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> void -setbuffer(fp, buf, size) - FILE *fp; - char *buf; - int size; +setbuffer(FILE *fp, char *buf, int size) { (void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, (size_t)size); @@ -52,8 +49,7 @@ setbuffer(fp, buf, size) * set line buffering */ int -setlinebuf(fp) - FILE *fp; +setlinebuf(FILE *fp) { return (setvbuf(fp, (char *)NULL, _IOLBF, (size_t)0)); |
