Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat Add __restrict to the set of tokens we #define ...



details:   https://anonhg.NetBSD.org/src/rev/7ada12b7db14
branches:  trunk
changeset: 536369:7ada12b7db14
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Fri Sep 13 23:35:34 2002 +0000

description:
Add __restrict to the set of tokens we #define away: our glob.h uses it.

diffstat:

 tools/compat/compat_defs.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r c8ecee6faad2 -r 7ada12b7db14 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Fri Sep 13 23:35:32 2002 +0000
+++ b/tools/compat/compat_defs.h        Fri Sep 13 23:35:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_defs.h,v 1.16 2002/07/03 17:16:27 pooka Exp $   */
+/*     $NetBSD: compat_defs.h,v 1.17 2002/09/13 23:35:34 bjh21 Exp $   */
 
 #ifndef        __NETBSD_COMPAT_DEFS_H__
 #define        __NETBSD_COMPAT_DEFS_H__
@@ -82,6 +82,8 @@
 #define __aconst
 #undef __dead
 #define __dead
+#undef __restrict
+#define __restrict
 
 /* Dirent support. */
 



Home | Main Index | Thread Index | Old Index