diff options
| author | sjg <sjg@NetBSD.org> | 2012-06-20 17:46:28 +0000 |
|---|---|---|
| committer | sjg <sjg@NetBSD.org> | 2012-06-20 17:46:28 +0000 |
| commit | a93ec6dc0e00e1b516cadd93185ed75a7eb36a26 (patch) | |
| tree | 8946ff772964870374e989d47fca311183d5578c /usr.bin/make/make_malloc.c | |
| parent | 861dfe01623dfd0639824461abe1620eac03258c (diff) | |
Do not include make_malloc.h or declare progname,
both are already done in make.h
Diffstat (limited to 'usr.bin/make/make_malloc.c')
| -rw-r--r-- | usr.bin/make/make_malloc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/make/make_malloc.c b/usr.bin/make/make_malloc.c index 67412086fc0..b8ac23f8465 100644 --- a/usr.bin/make/make_malloc.c +++ b/usr.bin/make/make_malloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: make_malloc.c,v 1.9 2012/06/12 19:21:51 joerg Exp $ */ +/* $NetBSD: make_malloc.c,v 1.10 2012/06/20 17:46:28 sjg Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ #ifdef MAKE_NATIVE #include <sys/cdefs.h> -__RCSID("$NetBSD: make_malloc.c,v 1.9 2012/06/12 19:21:51 joerg Exp $"); +__RCSID("$NetBSD: make_malloc.c,v 1.10 2012/06/20 17:46:28 sjg Exp $"); #endif #include <stdio.h> @@ -37,7 +37,6 @@ __RCSID("$NetBSD: make_malloc.c,v 1.9 2012/06/12 19:21:51 joerg Exp $"); #include <errno.h> #include "make.h" -#include "make_malloc.h" #ifndef USE_EMALLOC static void enomem(void) MAKE_ATTR_DEAD; @@ -46,8 +45,6 @@ static void enomem(void) MAKE_ATTR_DEAD; * enomem -- * die when out of memory. */ -extern char *progname; - static void enomem(void) { |
