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/src don't need sys/cdefs.h if tool.



details:   https://anonhg.NetBSD.org/src/rev/82197e063ef1
branches:  trunk
changeset: 831098:82197e063ef1
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 11 18:32:10 2018 +0000

description:
don't need sys/cdefs.h if tool.

diffstat:

 external/bsd/flex/dist/src/libmain.c   |  6 ++++--
 external/bsd/flex/dist/src/libyywrap.c |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r f10345c0c2b8 -r 82197e063ef1 external/bsd/flex/dist/src/libmain.c
--- a/external/bsd/flex/dist/src/libmain.c      Sun Mar 11 15:13:05 2018 +0000
+++ b/external/bsd/flex/dist/src/libmain.c      Sun Mar 11 18:32:10 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libmain.c,v 1.3 2017/01/02 17:45:27 christos Exp $     */
+/*     $NetBSD: libmain.c,v 1.4 2018/03/11 18:32:10 christos Exp $     */
 
 /* libmain - flex run-time support library "main" function */
 
@@ -22,9 +22,11 @@
 /*  IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */
 /*  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */
 /*  PURPOSE. */
+#ifndef HAVE_NBTOOL_CONFIG_H
 #include <sys/cdefs.h>
 #ifdef __RCSID
-__RCSID("$NetBSD: libmain.c,v 1.3 2017/01/02 17:45:27 christos Exp $");
+__RCSID("$NetBSD: libmain.c,v 1.4 2018/03/11 18:32:10 christos Exp $");
+#endif
 #endif
 
 #include <stdlib.h>
diff -r f10345c0c2b8 -r 82197e063ef1 external/bsd/flex/dist/src/libyywrap.c
--- a/external/bsd/flex/dist/src/libyywrap.c    Sun Mar 11 15:13:05 2018 +0000
+++ b/external/bsd/flex/dist/src/libyywrap.c    Sun Mar 11 18:32:10 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libyywrap.c,v 1.2 2016/01/09 17:38:57 christos Exp $   */
+/*     $NetBSD: libyywrap.c,v 1.3 2018/03/11 18:32:10 christos Exp $   */
 
 /* libyywrap - flex run-time support library "yywrap" function */
 
@@ -22,9 +22,11 @@
 /*  IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */
 /*  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */
 /*  PURPOSE. */
+#ifndef HAVE_NBTOOL_CONFIG_H
 #include <sys/cdefs.h>
 #ifdef __RCSID
-__RCSID("$NetBSD: libyywrap.c,v 1.2 2016/01/09 17:38:57 christos Exp $");
+__RCSID("$NetBSD: libyywrap.c,v 1.3 2018/03/11 18:32:10 christos Exp $");
+#endif
 #endif
 
 int     yywrap (void);



Home | Main Index | Thread Index | Old Index