summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/make/buf.c4
-rw-r--r--usr.bin/make/util.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c
index b4e86dd..a6e0aa1 100644
--- a/usr.bin/make/buf.c
+++ b/usr.bin/make/buf.c
@@ -55,10 +55,6 @@ __FBSDID("$FreeBSD$");
#include "sprite.h"
#include "util.h"
-#ifndef MAX
-#define MAX(a,b) ((a) > (b) ? (a) : (b))
-#endif
-
/**
* Returns the number of bytes in the buffer. Doesn't include the
* null-terminating byte.
diff --git a/usr.bin/make/util.h b/usr.bin/make/util.h
index bcb8eff..44d3d9e 100644
--- a/usr.bin/make/util.h
+++ b/usr.bin/make/util.h
@@ -85,6 +85,10 @@ do { \
#define ISDOT(c) ((c)[0] == '.' && (((c)[1] == '\0') || ((c)[1] == '/')))
#define ISDOTDOT(c) ((c)[0] == '.' && ISDOT(&((c)[1])))
+#ifndef MAX
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
void Debug(const char *, ...);
void DebugM(const char *, ...);
void Error(const char *, ...);
OpenPOWER on IntegriCloud