summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-03-13 18:34:20 +0000
committerguenther <guenther@openbsd.org>2016-03-13 18:34:20 +0000
commite422429247bd689ad82a15ebdacdfc785b980b1d (patch)
treee55007aaec3fc67c3671cede86e113d93041c114 /lib/libc/stdlib/malloc.c
parentremove an extra space before ^\ help message. (diff)
downloadwireguard-openbsd-e422429247bd689ad82a15ebdacdfc785b980b1d.tar.xz
wireguard-openbsd-e422429247bd689ad82a15ebdacdfc785b980b1d.zip
environ and __progname are not declared in a public header; declare them
in libc's hidden/stdlib.h instead of in each .c file that needs one ok deraadt@ gsoares@ mpi@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
-rw-r--r--lib/libc/stdlib/malloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index d22fb38dae3..24b22854a5a 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc.c,v 1.182 2016/02/25 00:38:51 deraadt Exp $ */
+/* $OpenBSD: malloc.c,v 1.183 2016/03/13 18:34:21 guenther Exp $ */
/*
* Copyright (c) 2008, 2010, 2011 Otto Moerbeek <otto@drijf.net>
* Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
@@ -208,8 +208,6 @@ static int malloc_active; /* status of malloc */
static u_char getrbyte(struct dir_info *d);
-extern char *__progname;
-
#ifdef MALLOC_STATS
void malloc_dump(int);
PROTO_NORMAL(malloc_dump);