diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 21:59:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 21:59:12 +0000 |
commit | ef38a0e957c4e18974e4f95e9ca96458e557c58f (patch) | |
tree | faf2c38d4d78ee3f7c34405b2d21f433984fca46 /usr.bin/lastcomm | |
parent | f1352fa502cddfd41ce2f093a0b44a482e6ec5ad (diff) |
more proto fixes
Diffstat (limited to 'usr.bin/lastcomm')
-rw-r--r-- | usr.bin/lastcomm/lastcomm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/lastcomm/lastcomm.c b/usr.bin/lastcomm/lastcomm.c index f08fd738daf..4219101d1dc 100644 --- a/usr.bin/lastcomm/lastcomm.c +++ b/usr.bin/lastcomm/lastcomm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lastcomm.c,v 1.12 2003/06/10 22:20:47 deraadt Exp $ */ +/* $OpenBSD: lastcomm.c,v 1.13 2003/06/26 21:59:11 deraadt Exp $ */ /* $NetBSD: lastcomm.c,v 1.9 1995/10/22 01:43:42 ghudson Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)lastcomm.c 8.2 (Berkeley) 4/29/95"; #endif -static char rcsid[] = "$OpenBSD: lastcomm.c,v 1.12 2003/06/10 22:20:47 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: lastcomm.c,v 1.13 2003/06/26 21:59:11 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -58,6 +58,7 @@ static char rcsid[] = "$OpenBSD: lastcomm.c,v 1.12 2003/06/10 22:20:47 deraadt E #include <tzfile.h> #include <unistd.h> #include <utmp.h> +#include <pwd.h> #include "pathnames.h" time_t expand(u_int); @@ -65,7 +66,6 @@ char *flagbits(int); char *getdev(dev_t); int requested(char *[], struct acct *); void usage(void); -char *user_from_uid(); int main(int argc, char *argv[]) |