summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-25 21:09:45 +0000
committerderaadt <deraadt@openbsd.org>2003-06-25 21:09:45 +0000
commit33148c5381d58c8f6292743eaf7491ca75380a4b (patch)
treecbd0ad733edd810b9cb0049490ee94db9e7799cb
parentprotos (diff)
downloadwireguard-openbsd-33148c5381d58c8f6292743eaf7491ca75380a4b.tar.xz
wireguard-openbsd-33148c5381d58c8f6292743eaf7491ca75380a4b.zip
delete junk protos
-rw-r--r--usr.bin/finger/finger.h5
-rw-r--r--usr.bin/finger/util.c5
-rw-r--r--usr.bin/ul/ul.c5
-rw-r--r--usr.bin/wall/wall.c6
4 files changed, 9 insertions, 12 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)
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];