summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2001-03-25 19:23:40 +0000
committermickey <mickey@openbsd.org>2001-03-25 19:23:40 +0000
commit4ffef8c0b5d6cb196747b39c041683d9ba9466a8 (patch)
tree482abecb09942df64874135524a9e5d4bec759d1
parentMissing irqack, cleanup DMA error handling (diff)
downloadwireguard-openbsd-4ffef8c0b5d6cb196747b39c041683d9ba9466a8.tar.xz
wireguard-openbsd-4ffef8c0b5d6cb196747b39c041683d9ba9466a8.zip
extern __progname; from bob
-rw-r--r--usr.bin/gprof/gprof.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c
index afed1ac963f..1da0a6096ae 100644
--- a/usr.bin/gprof/gprof.c
+++ b/usr.bin/gprof/gprof.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gprof.c,v 1.7 2001/03/22 05:18:30 mickey Exp $ */
+/* $OpenBSD: gprof.c,v 1.8 2001/03/25 19:23:40 mickey Exp $ */
/* $NetBSD: gprof.c,v 1.8 1995/04/19 07:15:59 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)gprof.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: gprof.c,v 1.7 2001/03/22 05:18:30 mickey Exp $";
+static char rcsid[] = "$OpenBSD: gprof.c,v 1.8 2001/03/25 19:23:40 mickey Exp $";
#endif
#endif /* not lint */
@@ -56,6 +56,7 @@ static char rcsid[] = "$OpenBSD: gprof.c,v 1.7 2001/03/22 05:18:30 mickey Exp $"
char *defaultEs[] = { "mcount" , "__mcleanup" , 0 };
static struct gmonhdr gmonhdr;
+extern char *__progname;
int
main(argc, argv)