diff options
Diffstat (limited to 'lib/libc/stdio/fileno.c')
-rw-r--r-- | lib/libc/stdio/fileno.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdio/fileno.c b/lib/libc/stdio/fileno.c index d3204edb688..04e757f3119 100644 --- a/lib/libc/stdio/fileno.c +++ b/lib/libc/stdio/fileno.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: fileno.c,v 1.3 2003/06/02 20:18:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: fileno.c,v 1.4 2004/09/28 18:12:44 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -42,8 +42,7 @@ static char rcsid[] = "$OpenBSD: fileno.c,v 1.3 2003/06/02 20:18:37 millert Exp #undef fileno int -fileno(fp) - FILE *fp; +fileno(FILE *fp) { return (__sfileno(fp)); } |