From: Nikos Mavrogiannopoulos Date: Mon, 11 Apr 2011 06:58:16 +0000 (+0200) Subject: No need to under restrict for C++. Only use config.h. X-Git-Tag: gnutls_2_99_1~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ea32a2b463192f88b5cef10725d967ee6b9bc95;p=thirdparty%2Fgnutls.git No need to under restrict for C++. Only use config.h. --- diff --git a/doc/examples/ex-cxx.cpp b/doc/examples/ex-cxx.cpp index 483f2d7d44..ce4016acd7 100644 --- a/doc/examples/ex-cxx.cpp +++ b/doc/examples/ex-cxx.cpp @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/gl/time.in.h b/gl/time.in.h index 443ba81704..cb533a46e1 100644 --- a/gl/time.in.h +++ b/gl/time.in.h @@ -21,10 +21,6 @@ #endif @PRAGMA_COLUMNS@ -#ifdef __cplusplus -# define restrict -#endif - /* Don't get in the way of glibc when it includes time.h merely to declare a few standard symbols, rather than to declare all the symbols. Also, Solaris 8 eventually includes itself