diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 22:24:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 22:24:35 +0000 |
commit | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch) | |
tree | 999c9d18279a7de289937116273ae4016356aa3a /misc/ttyslot.c | |
parent | 8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff) | |
download | glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.gz glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.bz2 glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.zip |
Avoid use of "register" as optimization hint.
Diffstat (limited to 'misc/ttyslot.c')
-rw-r--r-- | misc/ttyslot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/ttyslot.c b/misc/ttyslot.c index 5872f23fd0..75ca6a2d42 100644 --- a/misc/ttyslot.c +++ b/misc/ttyslot.c @@ -40,9 +40,9 @@ static char sccsid[] = "@(#)ttyslot.c 8.1 (Berkeley) 6/4/93"; int ttyslot() { - register struct ttyent *ttyp; - register int slot; - register char *p; + struct ttyent *ttyp; + int slot; + char *p; int cnt; size_t buflen = __sysconf (_SC_TTY_NAME_MAX) + 1; char *name; |