From 8fb3f3f68288ae2b1b53dd65e3dd673d83c80f4c Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 21 Mar 2002 18:49:23 +0000 Subject: Remove 'register' keyword. --- lib/libc/stdio/stdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/stdio/stdio.c') diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c index 7f66fa8ab591..0358f101f480 100644 --- a/lib/libc/stdio/stdio.c +++ b/lib/libc/stdio/stdio.c @@ -60,7 +60,7 @@ __sread(cookie, buf, n) char *buf; int n; { - register FILE *fp = cookie; + FILE *fp = cookie; return(_read(fp->_file, buf, (size_t)n)); } @@ -71,7 +71,7 @@ __swrite(cookie, buf, n) char const *buf; int n; { - register FILE *fp = cookie; + FILE *fp = cookie; return (_write(fp->_file, buf, (size_t)n)); } @@ -82,7 +82,7 @@ __sseek(cookie, offset, whence) fpos_t offset; int whence; { - register FILE *fp = cookie; + FILE *fp = cookie; return (lseek(fp->_file, (off_t)offset, whence)); } -- cgit v1.2.3