From 32c7768b61c95094702adc74eaa693e9f28c61a2 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sun, 13 Mar 2016 18:34:21 +0000 Subject: 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@ --- src/lib/libc/stdlib/malloc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libc/stdlib/malloc.c') diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c index d22fb38dae..24b22854a5 100644 --- a/src/lib/libc/stdlib/malloc.c +++ b/src/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 * Copyright (c) 2012 Matthew Dempsky @@ -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); -- cgit v1.2.3-55-g6feb