Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make gcc 4.2 doesn't like externs inside functions
details: https://anonhg.NetBSD.org/src/rev/8e8a3e1f2d13
branches: trunk
changeset: 779914:8e8a3e1f2d13
user: sjg <sjg%NetBSD.org@localhost>
date: Wed Jun 27 17:22:58 2012 +0000
description:
gcc 4.2 doesn't like externs inside functions
diffstat:
usr.bin/make/meta.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 23dda4fc01f3 -r 8e8a3e1f2d13 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c Wed Jun 27 13:25:23 2012 +0000
+++ b/usr.bin/make/meta.c Wed Jun 27 17:22:58 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meta.c,v 1.24 2011/09/21 14:30:47 christos Exp $ */
+/* $NetBSD: meta.c,v 1.25 2012/06/27 17:22:58 sjg Exp $ */
/*
* Implement 'meta' mode.
@@ -68,6 +68,7 @@
extern Boolean forceJobs;
extern Boolean comatMake;
+extern char **environ;
#define MAKE_META_PREFIX ".MAKE.META.PREFIX"
@@ -388,7 +389,6 @@
static FILE *
meta_create(BuildMon *pbm, GNode *gn)
{
- extern char **environ;
meta_file_t mf;
char buf[MAXPATHLEN];
char objdir[MAXPATHLEN];
Home |
Main Index |
Thread Index |
Old Index