diff options
-rw-r--r-- | usr.bin/ul/ul.c | 5 | ||||
-rw-r--r-- | usr.bin/wall/wall.c | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/ul/ul.c b/usr.bin/ul/ul.c index 1c06b18732d..d7d65a6bee9 100644 --- a/usr.bin/ul/ul.c +++ b/usr.bin/ul/ul.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ul.c,v 1.10 2003/06/10 22:20:53 deraadt Exp $ */ +/* $OpenBSD: ul.c,v 1.11 2003/06/25 21:09:45 deraadt Exp $ */ /* $NetBSD: ul.c,v 1.3 1994/12/07 00:28:24 jtc Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: ul.c,v 1.10 2003/06/10 22:20:53 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ul.c,v 1.11 2003/06/25 21:09:45 deraadt Exp $"; #endif /* not lint */ #include <stdio.h> @@ -418,7 +418,6 @@ initcap(void) { static char tcapbuf[512]; char *bp = tcapbuf; - char *getenv(), *tgetstr(); /* This nonsense attempts to work with both old and new termcap */ CURS_UP = tgetstr("up", &bp); diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 5f34c3a2557..d0d3c7ff823 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wall.c,v 1.18 2003/06/03 02:56:22 millert Exp $ */ +/* $OpenBSD: wall.c,v 1.19 2003/06/25 21:09:53 deraadt Exp $ */ /* $NetBSD: wall.c,v 1.6 1994/11/17 07:17:58 jtc Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93"; #endif -static const char rcsid[] = "$OpenBSD: wall.c,v 1.18 2003/06/03 02:56:22 millert Exp $"; +static const char rcsid[] = "$OpenBSD: wall.c,v 1.19 2003/06/25 21:09:53 deraadt Exp $"; #endif /* not lint */ /* @@ -159,7 +159,7 @@ makemsg(char *fname) struct tm *lt; struct passwd *pw; struct stat sbuf; - time_t now, time(); + time_t now; FILE *fp; int fd; char *p, *whom, hostname[MAXHOSTNAMELEN], lbuf[100], tmpname[MAXPATHLEN]; |