Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make remove <sys/cdefs.h> for portability reasons
details: https://anonhg.NetBSD.org/src/rev/57d6078e9f9c
branches: trunk
changeset: 339001:57d6078e9f9c
user: christos <christos%NetBSD.org@localhost>
date: Sun Jun 21 20:26:02 2015 +0000
description:
remove <sys/cdefs.h> for portability reasons
diffstat:
usr.bin/make/metachar.h | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 5993a72ffb01 -r 57d6078e9f9c usr.bin/make/metachar.h
--- a/usr.bin/make/metachar.h Sun Jun 21 16:06:51 2015 +0000
+++ b/usr.bin/make/metachar.h Sun Jun 21 20:26:02 2015 +0000
@@ -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 @@
return *cmd != '\0';
}
-__END_DECLS
#endif /* _METACHAR_H */
Home |
Main Index |
Thread Index |
Old Index