Module Name: src Committed By: sjg Date: Wed Jun 20 17:46:29 UTC 2012
Modified Files: src/usr.bin/make: make_malloc.c Log Message: Do not include make_malloc.h or declare progname, both are already done in make.h To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/make_malloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/make_malloc.c diff -u src/usr.bin/make/make_malloc.c:1.9 src/usr.bin/make/make_malloc.c:1.10 --- src/usr.bin/make/make_malloc.c:1.9 Tue Jun 12 19:21:51 2012 +++ src/usr.bin/make/make_malloc.c Wed Jun 20 17:46:28 2012 @@ -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 20 #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) {