diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-03-15 02:50:30 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-03-15 02:50:30 +0000 |
commit | 8b2f23f3ea191acc1b81ac0484a2dfe4952f2944 (patch) | |
tree | edef35e9e5933535f1bea2b8e0f56b23faffe7ea /usr.bin/finger/finger.c | |
parent | 8643441541fb3794d9afa416a43637d0b41375f9 (diff) |
Wall, commons, little knf
Diffstat (limited to 'usr.bin/finger/finger.c')
-rw-r--r-- | usr.bin/finger/finger.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c index d3bdfadd737..af78432b3f8 100644 --- a/usr.bin/finger/finger.c +++ b/usr.bin/finger/finger.c @@ -1,4 +1,4 @@ -/* $OpenBSD: finger.c,v 1.15 2003/10/17 10:56:09 jmc Exp $ */ +/* $OpenBSD: finger.c,v 1.16 2004/03/15 02:50:29 tedu Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -43,14 +43,14 @@ */ #ifndef lint -char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1989 The Regents of the University of California.\n\ All rights reserved.\n"; #endif /* not lint */ #ifndef lint /*static char sccsid[] = "from: @(#)finger.c 5.22 (Berkeley) 6/29/90";*/ -static char rcsid[] = "$OpenBSD: finger.c,v 1.15 2003/10/17 10:56:09 jmc Exp $"; +static const char rcsid[] = "$OpenBSD: finger.c,v 1.16 2004/03/15 02:50:29 tedu Exp $"; #endif /* not lint */ /* @@ -82,6 +82,8 @@ static char rcsid[] = "$OpenBSD: finger.c,v 1.15 2003/10/17 10:56:09 jmc Exp $"; time_t now; int entries, lflag, sflag, mflag, oflag, pplan, Mflag; char tbuf[1024]; +PERSON *htab[HSIZE]; +PERSON *phead, *ptail; int main(int argc, char *argv[]) |