Module Name: src
Committed By: rillig
Date: Sat Nov 28 08:41:53 UTC 2020
Modified Files:
src/usr.bin/make: trace.h
Log Message:
make(1): add multiple-inclusion guard for trace.h
Needed for all-in-one mode since this header is included 3 times.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/trace.h
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/trace.h
diff -u src/usr.bin/make/trace.h:1.4 src/usr.bin/make/trace.h:1.5
--- src/usr.bin/make/trace.h:1.4 Sun Oct 18 17:19:54 2020
+++ src/usr.bin/make/trace.h Sat Nov 28 08:41:53 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: trace.h,v 1.4 2020/10/18 17:19:54 rillig Exp $ */
+/* $NetBSD: trace.h,v 1.5 2020/11/28 08:41:53 rillig Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -34,6 +34,9 @@
* Definitions pertaining to the tracing of jobs in parallel mode.
*/
+#ifndef MAKE_TRACE_H
+#define MAKE_TRACE_H
+
typedef enum TrEvent {
MAKESTART,
MAKEEND,
@@ -47,3 +50,4 @@ void Trace_Init(const char *);
void Trace_Log(TrEvent, Job *);
void Trace_End(void);
+#endif