Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Do not include make_malloc.h or declare progname,



details:   https://anonhg.NetBSD.org/src/rev/36c0f63617c3
branches:  trunk
changeset: 779817:36c0f63617c3
user:      sjg <sjg%NetBSD.org@localhost>
date:      Wed Jun 20 17:46:28 2012 +0000

description:
Do not include make_malloc.h or declare progname,
both are already done in make.h

diffstat:

 usr.bin/make/make_malloc.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r bfbca5f85bbf -r 36c0f63617c3 usr.bin/make/make_malloc.c
--- a/usr.bin/make/make_malloc.c        Wed Jun 20 15:03:18 2012 +0000
+++ b/usr.bin/make/make_malloc.c        Wed Jun 20 17:46:28 2012 +0000
@@ -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 @@
 #include <errno.h>
 
 #include "make.h"
-#include "make_malloc.h"
 
 #ifndef USE_EMALLOC
 static void enomem(void) MAKE_ATTR_DEAD;
@@ -46,8 +45,6 @@
  * enomem --
  *     die when out of memory.
  */
-extern char *progname;
-
 static void
 enomem(void)
 {



Home | Main Index | Thread Index | Old Index