summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/make.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r--usr.bin/make/make.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h
index 506d98a..7873ec1 100644
--- a/usr.bin/make/make.h
+++ b/usr.bin/make/make.h
@@ -50,7 +50,15 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
+#ifndef MAKE_BOOTSTRAP
#include <sys/cdefs.h>
+#else
+#if defined(__STDC__) || defined(__cplusplus)
+#define __P(protos) protos /* full-blown ANSI C */
+#else
+#define __P(protos) () /* traditional C preprocessor */
+#endif
+#endif
#if __STDC__
#include <stdlib.h>
#include <unistd.h>
@@ -347,11 +355,11 @@ extern int debug;
*/
#include "nonints.h"
-void Make_DoAllVar __P((GNode *));
-int Make_HandleUse __P((GNode *, GNode *));
-Boolean Make_OODate __P((GNode *));
-Boolean Make_Run __P((Lst));
-int Make_TimeStamp __P((GNode *, GNode *));
-void Make_Update __P((GNode *));
+int Make_TimeStamp __P((GNode *, GNode *));
+Boolean Make_OODate __P((GNode *));
+int Make_HandleUse __P((GNode *, GNode *));
+void Make_Update __P((GNode *));
+void Make_DoAllVar __P((GNode *));
+Boolean Make_Run __P((Lst));
#endif /* _MAKE_H_ */
OpenPOWER on IntegriCloud