diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-03-05 10:53:51 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-03-05 10:53:51 +0000 |
| commit | 64369cae231e8056b6b90015d37af3bdc3645d43 (patch) | |
| tree | c04491e056497ea567f05cc3728847a4ba099562 /lib/libc | |
| parent | 831a520f902313ec78e29f7412943638d0e29fcf (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/stdio/fopen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fopen.c b/lib/libc/stdio/fopen.c index 1ef6bda15da1..156840d0861b 100644 --- a/lib/libc/stdio/fopen.c +++ b/lib/libc/stdio/fopen.c @@ -45,6 +45,7 @@ static char sccsid[] = "@(#)fopen.c 8.1 (Berkeley) 6/4/93"; #include <fcntl.h> #include <stdio.h> #include <errno.h> + #include "local.h" FILE * @@ -52,8 +53,8 @@ fopen(file, mode) const char *file; const char *mode; { - register FILE *fp; - register int f; + FILE *fp; + int f; int flags, oflags; if ((flags = __sflags(mode, &oflags)) == 0) @@ -71,7 +72,6 @@ fopen(file, mode) fp->_write = __swrite; fp->_seek = __sseek; fp->_close = __sclose; - /* * When opening in append mode, even though we use O_APPEND, * we need to seek to the end so that ftell() gets the right |
