Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/byacc/include Map GCC_PRINTFLIKE to our __print...



details:   https://anonhg.NetBSD.org/src/rev/22c1432e439c
branches:  trunk
changeset: 335381:22c1432e439c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jan 05 01:36:36 2015 +0000

description:
Map GCC_PRINTFLIKE to our __printflike.

diffstat:

 external/bsd/byacc/include/config.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 19513fdee773 -r 22c1432e439c external/bsd/byacc/include/config.h
--- a/external/bsd/byacc/include/config.h       Mon Jan 05 01:34:42 2015 +0000
+++ b/external/bsd/byacc/include/config.h       Mon Jan 05 01:36:36 2015 +0000
@@ -8,7 +8,7 @@
 /* #undef GCC_PRINTF */
 
 /* Define to printf-attribute for gcc */
-/* #undef GCC_PRINTFLIKE */
+#define GCC_PRINTFLIKE(a,b) __printflike(a,b)
 
 /* Define to 1 if the compiler supports gcc-like scanf attribute. */
 /* #undef GCC_SCANF */



Home | Main Index | Thread Index | Old Index