Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Backout previous - we do not need it anymore



details:   https://anonhg.NetBSD.org/src/rev/954f6bb71478
branches:  trunk
changeset: 777545:954f6bb71478
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Feb 22 17:52:58 2012 +0000

description:
Backout previous - we do not need it anymore

diffstat:

 sys/sys/cdefs.h |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 937e2f58c76e -r 954f6bb71478 sys/sys/cdefs.h
--- a/sys/sys/cdefs.h   Wed Feb 22 17:51:01 2012 +0000
+++ b/sys/sys/cdefs.h   Wed Feb 22 17:52:58 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs.h,v 1.91 2012/02/21 10:53:08 martin Exp $        */
+/*     $NetBSD: cdefs.h,v 1.92 2012/02/22 17:52:58 martin Exp $        */
 
 /*
  * Copyright (c) 1991, 1993
@@ -266,13 +266,10 @@
 #define        __BEGIN_EXTERN_C        extern "C" {
 #define        __END_EXTERN_C          }
 #define        __static_cast(x,y)      static_cast<x>(y)
-/* C++ does not allow a __restrict modifier everywhere C99 does */
-#define        __conly_restrict
 #else
 #define        __BEGIN_EXTERN_C
 #define        __END_EXTERN_C
 #define        __static_cast(x,y)      (x)y
-#define        __conly_restrict        __restrict
 #endif
 
 #if __GNUC_PREREQ__(4, 0)



Home | Main Index | Thread Index | Old Index