Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/flex/dist Don't use __printflike during tool bu...



details:   https://anonhg.NetBSD.org/src/rev/57ddf774530b
branches:  trunk
changeset: 785924:57ddf774530b
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Apr 06 15:27:05 2013 +0000

description:
Don't use __printflike during tool build.

diffstat:

 external/bsd/flex/dist/flexdef.h |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 1241248f9afb -r 57ddf774530b external/bsd/flex/dist/flexdef.h
--- a/external/bsd/flex/dist/flexdef.h  Sat Apr 06 15:25:51 2013 +0000
+++ b/external/bsd/flex/dist/flexdef.h  Sat Apr 06 15:27:05 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flexdef.h,v 1.3 2013/04/06 14:27:52 christos Exp $     */
+/*     $NetBSD: flexdef.h,v 1.4 2013/04/06 15:27:05 joerg Exp $        */
 
 
 /* flexdef - definitions file for flex */
@@ -1224,8 +1224,9 @@
 /*
  * From "misc.c"
  */
-void lerrsf_fatal (const char *msg, ...) __printflike(1, 2);
-
-
+#ifdef __NetBSD__
+__printflike(1, 2)
+#endif
+void lerrsf_fatal (const char *msg, ...);
 
 #endif /* not defined FLEXDEF_H */



Home | Main Index | Thread Index | Old Index