summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>1998-01-22 15:29:13 +0000
committerperry <perry@NetBSD.org>1998-01-22 15:29:13 +0000
commitb613a27fa7cdf64ab88abb7afd2d14be38694f36 (patch)
tree7d754ee81f7e7fd7d84e593aacb748db625395d6 /lib/libutil
parent5e3388b0bf3a43a5e186cba2e4c92a93375f0505 (diff)
unregisterify
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/login.c6
-rw-r--r--lib/libutil/pty.c8
-rw-r--r--lib/libutil/ttymsg.c6
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/libutil/login.c b/lib/libutil/login.c
index 01d28d1c658..7bdced90225 100644
--- a/lib/libutil/login.c
+++ b/lib/libutil/login.c
@@ -1,4 +1,4 @@
-/* $NetBSD: login.c,v 1.8 1997/08/25 19:31:46 kleink Exp $ */
+/* $NetBSD: login.c,v 1.9 1998/01/22 15:29:13 perry Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)login.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: login.c,v 1.8 1997/08/25 19:31:46 kleink Exp $");
+__RCSID("$NetBSD: login.c,v 1.9 1998/01/22 15:29:13 perry Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -55,7 +55,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 e202bdf8944..f7c251ae23e 100644
--- a/lib/libutil/pty.c
+++ b/lib/libutil/pty.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pty.c,v 1.9 1998/01/22 15:23:05 perry Exp $ */
+/* $NetBSD: pty.c,v 1.10 1998/01/22 15:29:14 perry Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)pty.c 8.3 (Berkeley) 5/16/94";
#else
-__RCSID("$NetBSD: pty.c,v 1.9 1998/01/22 15:23:05 perry Exp $");
+__RCSID("$NetBSD: pty.c,v 1.10 1998/01/22 15:29:14 perry Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -70,8 +70,8 @@ openpty(amaster, aslave, name, termp, winp)
struct winsize *winp;
{
static char line[] = "/dev/XtyXX";
- 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)
diff --git a/lib/libutil/ttymsg.c b/lib/libutil/ttymsg.c
index a54e240a111..8f437f0b110 100644
--- a/lib/libutil/ttymsg.c
+++ b/lib/libutil/ttymsg.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ttymsg.c,v 1.6 1997/07/01 06:10:53 mikel Exp $ */
+/* $NetBSD: ttymsg.c,v 1.7 1998/01/22 15:29:14 perry Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)ttymsg.c 8.2 (Berkeley) 11/16/93";
#else
-__RCSID("$NetBSD: ttymsg.c,v 1.6 1997/07/01 06:10:53 mikel Exp $");
+__RCSID("$NetBSD: ttymsg.c,v 1.7 1998/01/22 15:29:14 perry Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -71,7 +71,7 @@ ttymsg(iov, iovcnt, line, tmout)
{
static char device[MAXNAMLEN] = _PATH_DEV;
static char errbuf[1024];
- register int cnt, fd, left, wret;
+ int cnt, fd, left, wret;
struct iovec localiov[6];
int forked = 0;