Module Name: othersrc
Committed By: dholland
Date: Mon Feb 25 01:43:04 UTC 2013
Modified Files:
othersrc/usr.bin/dholland-make2: main.c make.h
Log Message:
extern decls should be only in header files.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/usr.bin/dholland-make2/main.c \
othersrc/usr.bin/dholland-make2/make.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/usr.bin/dholland-make2/main.c
diff -u othersrc/usr.bin/dholland-make2/main.c:1.1.1.1 othersrc/usr.bin/dholland-make2/main.c:1.2
--- othersrc/usr.bin/dholland-make2/main.c:1.1.1.1 Mon Feb 25 01:32:59 2013
+++ othersrc/usr.bin/dholland-make2/main.c Mon Feb 25 01:43:03 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.1.1.1 2013/02/25 01:32:59 dholland Exp $ */
+/* $NetBSD: main.c,v 1.2 2013/02/25 01:43:03 dholland Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,7 +69,7 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: main.c,v 1.1.1.1 2013/02/25 01:32:59 dholland Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.2 2013/02/25 01:43:03 dholland Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
@@ -81,7 +81,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 19
#if 0
static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: main.c,v 1.1.1.1 2013/02/25 01:32:59 dholland Exp $");
+__RCSID("$NetBSD: main.c,v 1.2 2013/02/25 01:43:03 dholland Exp $");
#endif
#endif /* not lint */
#endif
@@ -187,8 +187,6 @@ pid_t myPid;
Boolean forceJobs = FALSE;
-extern Lst parseIncPath;
-
static void
parse_debug_options(const char *argvalue)
{
Index: othersrc/usr.bin/dholland-make2/make.h
diff -u othersrc/usr.bin/dholland-make2/make.h:1.1.1.1 othersrc/usr.bin/dholland-make2/make.h:1.2
--- othersrc/usr.bin/dholland-make2/make.h:1.1.1.1 Mon Feb 25 01:33:01 2013
+++ othersrc/usr.bin/dholland-make2/make.h Mon Feb 25 01:43:03 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.1.1.1 2013/02/25 01:33:01 dholland Exp $ */
+/* $NetBSD: make.h,v 1.2 2013/02/25 01:43:03 dholland Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -402,7 +402,8 @@ extern time_t now; /* The time at
extern Boolean oldVars; /* Do old-style variable substitution */
-extern Lst sysIncPath; /* The system include path. */
+extern Lst parseIncPath; /* The general include path, for "". */
+extern Lst sysIncPath; /* The system include path, for <>. */
extern Lst defIncPath; /* The default include path. */
extern char curdir[]; /* Startup directory */