summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/funopen.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-19 19:39:35 +0000
committermillert <millert@openbsd.org>2002-02-19 19:39:35 +0000
commite7beb4a7d58a6a0955c07ef9465f5caa3383f928 (patch)
treea90c75bb4a04ab98987b06850cbdffd6c1903e17 /lib/libc/stdio/funopen.c
parentEvery command should have a manual page. (diff)
downloadwireguard-openbsd-e7beb4a7d58a6a0955c07ef9465f5caa3383f928.tar.xz
wireguard-openbsd-e7beb4a7d58a6a0955c07ef9465f5caa3383f928.zip
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
Diffstat (limited to 'lib/libc/stdio/funopen.c')
-rw-r--r--lib/libc/stdio/funopen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/stdio/funopen.c b/lib/libc/stdio/funopen.c
index 6b9eb87d895..c2fcb5461cd 100644
--- a/lib/libc/stdio/funopen.c
+++ b/lib/libc/stdio/funopen.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: funopen.c,v 1.3 1997/07/25 20:30:09 mickey Exp $";
+static char rcsid[] = "$OpenBSD: funopen.c,v 1.4 2002/02/19 19:39:36 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
@@ -46,11 +46,7 @@ FILE *
funopen(cookie, readfn, writefn, seekfn, closefn)
const void *cookie;
int (*readfn)(), (*writefn)();
-#ifdef __STDC__
fpos_t (*seekfn)(void *cookie, fpos_t off, int whence);
-#else
- fpos_t (*seekfn)();
-#endif
int (*closefn)();
{
register FILE *fp;