Module Name:    src
Committed By:   christos
Date:           Sun Mar 11 18:32:10 UTC 2018

Modified Files:
        src/external/bsd/flex/dist/src: libmain.c libyywrap.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/flex/dist/src/libmain.c
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/flex/dist/src/libyywrap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/flex/dist/src/libmain.c
diff -u src/external/bsd/flex/dist/src/libmain.c:1.3 src/external/bsd/flex/dist/src/libmain.c:1.4
--- src/external/bsd/flex/dist/src/libmain.c:1.3	Mon Jan  2 12:45:27 2017
+++ src/external/bsd/flex/dist/src/libmain.c	Sun Mar 11 14:32:10 2018
@@ -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>

Index: src/external/bsd/flex/dist/src/libyywrap.c
diff -u src/external/bsd/flex/dist/src/libyywrap.c:1.2 src/external/bsd/flex/dist/src/libyywrap.c:1.3
--- src/external/bsd/flex/dist/src/libyywrap.c:1.2	Sat Jan  9 12:38:57 2016
+++ src/external/bsd/flex/dist/src/libyywrap.c	Sun Mar 11 14:32:10 2018
@@ -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);

Reply via email to