diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-21 23:39:28 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-21 23:39:28 +0000 |
commit | 084b4588f24346b3d369eaf49193461c380e8521 (patch) | |
tree | 1cbfa8bb28a9bf0d0b93ca61ac5323ef95e4c7f7 /lib/libutil | |
parent | 454845084c112df969ca14adced4fd6c1d7305b6 (diff) | |
download | FreeBSD-src-084b4588f24346b3d369eaf49193461c380e8521.zip FreeBSD-src-084b4588f24346b3d369eaf49193461c380e8521.tar.gz |
Remove 'register' keyword.
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/login.c | 2 | ||||
-rw-r--r-- | lib/libutil/pty.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/login.c b/lib/libutil/login.c index 894d555..cbb6013 100644 --- a/lib/libutil/login.c +++ b/lib/libutil/login.c @@ -53,7 +53,7 @@ void login(ut) struct utmp *ut; { - register int fd; + int fd; int tty; tty = ttyslot(); diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index a82ef07..088ea8d 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -61,8 +61,8 @@ openpty(amaster, aslave, name, termp, winp) struct winsize *winp; { char line[] = "/dev/ptyXX"; - register const char *cp1, *cp2; - register int master, slave, ttygid; + const char *cp1, *cp2; + int master, slave, ttygid; struct group *gr; if ((gr = getgrnam("tty")) != NULL) |