[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs/src ChangeLog cvs.h
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] ccvs/src ChangeLog cvs.h |
Date: |
Tue, 25 Apr 2006 20:01:47 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Branch:
Changes by: Derek Robert Price <address@hidden> 06/04/25 20:01:47
Modified files:
src : ChangeLog cvs.h
Log message:
* cvs.h: Move GNU function attribute protection to <config.h>.
(Report from Mark D. Baushke <address@hidden>.)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/ChangeLog.diff?tr1=1.3379&tr2=1.3380&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/cvs.h.diff?tr1=1.347&tr2=1.348&r1=text&r2=text
Patches:
Index: ccvs/src/ChangeLog
diff -u ccvs/src/ChangeLog:1.3379 ccvs/src/ChangeLog:1.3380
--- ccvs/src/ChangeLog:1.3379 Tue Apr 25 19:08:58 2006
+++ ccvs/src/ChangeLog Tue Apr 25 20:01:47 2006
@@ -1,5 +1,8 @@
2006-04-25 Derek Price <address@hidden>
+ * cvs.h: Move GNU function attribute protection to <config.h>.
+ (Report from Mark D. Baushke <address@hidden>.)
+
* sanity.sh: Test for inablility to suppress GPG warnings which cause
tests to fail. Supress warnings for bases.
(Report from Mark D. Baushke <address@hidden>.)
Index: ccvs/src/cvs.h
diff -u ccvs/src/cvs.h:1.347 ccvs/src/cvs.h:1.348
--- ccvs/src/cvs.h:1.347 Mon Apr 24 18:50:26 2006
+++ ccvs/src/cvs.h Tue Apr 25 20:01:47 2006
@@ -21,29 +21,6 @@
# include <config.h> /* this is stuff found via autoconf */
#endif /* CONFIG_H */
-/* Add GNU attribute suppport. */
-#ifndef __attribute__
-/* This feature is available in gcc versions 2.5 and later. */
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
-# define __attribute__(Spec) /* empty */
-# else
-# if __GNUC__ == 2 && __GNUC_MINOR__ < 96
-# define __pure__ /* empty */
-# endif
-# if __GNUC__ < 3
-# define __malloc__ /* empty */
-# endif
-# endif
-/* The __-protected variants of `format' and `printf' attributes
- are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
-# define __const__ const
-# define __format__ format
-# define __noreturn__ noreturn
-# define __printf__ printf
-# endif
-#endif /* __attribute__ */
-
/* Some GNULIB headers require that we include system headers first. */
#include "system.h"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Cvs-cvs] ccvs/src ChangeLog cvs.h,
Derek Robert Price <=