From 2e09a79ada1f6d92809a037d41895e3d9302ad59 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 7 Jun 2013 22:24:35 +0000 Subject: Avoid use of "register" as optimization hint. --- misc/ttyslot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'misc/ttyslot.c') diff --git a/misc/ttyslot.c b/misc/ttyslot.c index 5872f23..75ca6a2 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; -- cgit v1.1