summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-21 18:49:23 +0000
committerobrien <obrien@FreeBSD.org>2002-03-21 18:49:23 +0000
commit1196344bb37334ed0f8808056a53ca058758843c (patch)
tree12b252b7426e8a8904ef257bea10fea6038142f4 /lib/libc/stdio/stdio.c
parent8ee1755c8ef3729bb2d3c4bfae2b85b786fdaf70 (diff)
downloadFreeBSD-src-1196344bb37334ed0f8808056a53ca058758843c.zip
FreeBSD-src-1196344bb37334ed0f8808056a53ca058758843c.tar.gz
Remove 'register' keyword.
Diffstat (limited to 'lib/libc/stdio/stdio.c')
-rw-r--r--lib/libc/stdio/stdio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c
index 7f66fa8..0358f10 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));
}
OpenPOWER on IntegriCloud