summaryrefslogtreecommitdiff
path: root/usr.bin/finger
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 21:10:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 21:10:56 +0000
commit9492ac81c03196dcb3cc04a5cf2730b2b4cfc9ed (patch)
treef72a20b06c6ecaa13177f1d409a4d7e65e6030fb /usr.bin/finger
parent658b0ab0595d3151e0471e406bf75b779c6d7b3c (diff)
delete junk protos
Diffstat (limited to 'usr.bin/finger')
-rw-r--r--usr.bin/finger/finger.h5
-rw-r--r--usr.bin/finger/util.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/finger/finger.h b/usr.bin/finger/finger.h
index d07c6a34cda..a4c3c406f7e 100644
--- a/usr.bin/finger/finger.h
+++ b/usr.bin/finger/finger.h
@@ -1,4 +1,4 @@
-/* * $OpenBSD: finger.h,v 1.4 2003/06/03 02:56:08 millert Exp $*/
+/* * $OpenBSD: finger.h,v 1.5 2003/06/25 21:10:55 deraadt Exp $*/
/*
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
@@ -77,6 +77,3 @@ typedef struct where {
PERSON *htab[HSIZE]; /* the buckets */
PERSON *phead, *ptail; /* the linked list of all people */
-
-PERSON *enter_person(), *find_person(), *palloc();
-WHERE *walloc();
diff --git a/usr.bin/finger/util.c b/usr.bin/finger/util.c
index aefbbaa4a08..0c570af2063 100644
--- a/usr.bin/finger/util.c
+++ b/usr.bin/finger/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.17 2003/06/10 22:20:46 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.18 2003/06/25 21:10:55 deraadt Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)util.c 5.14 (Berkeley) 1/17/91";*/
-static char rcsid[] = "$OpenBSD: util.c,v 1.17 2003/06/10 22:20:46 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: util.c,v 1.18 2003/06/25 21:10:55 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -57,6 +57,7 @@ static char rcsid[] = "$OpenBSD: util.c,v 1.17 2003/06/10 22:20:46 deraadt Exp $
#include "extern.h"
char *estrdup(char *);
+WHERE *walloc(PERSON *pn);
void
find_idle_and_ttywrite(WHERE *w)