Module Name: src
Committed By: christos
Date: Sun Jun 21 20:26:02 UTC 2015
Modified Files:
src/usr.bin/make: metachar.h
Log Message:
remove <sys/cdefs.h> for portability reasons
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/metachar.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/metachar.h
diff -u src/usr.bin/make/metachar.h:1.3 src/usr.bin/make/metachar.h:1.4
--- src/usr.bin/make/metachar.h:1.3 Fri Jun 19 10:32:04 2015
+++ src/usr.bin/make/metachar.h Sun Jun 21 16:26:02 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: metachar.h,v 1.3 2015/06/19 14:32:04 christos Exp $ */
+/* $NetBSD: metachar.h,v 1.4 2015/06/21 20:26:02 christos Exp $ */
/*-
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -31,10 +31,8 @@
#ifndef _METACHAR_H
#define _METACHAR_H
-#include <sys/cdefs.h>
#include <ctype.h>
-__BEGIN_DECLS
extern unsigned char _metachar[];
#define ismeta(c) _metachar[(c) & 0x7f]
@@ -59,6 +57,5 @@ needshell(const char *cmd, int white)
return *cmd != '\0';
}
-__END_DECLS
#endif /* _METACHAR_H */