Module Name: src
Committed By: christos
Date: Thu Oct 30 20:21:39 UTC 2014
Modified Files:
src/external/bsd/flex/dist: libmain.c libyywrap.c
Log Message:
do the library stubs differently
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/flex/dist/libmain.c \
src/external/bsd/flex/dist/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/libmain.c
diff -u src/external/bsd/flex/dist/libmain.c:1.4 src/external/bsd/flex/dist/libmain.c:1.5
--- src/external/bsd/flex/dist/libmain.c:1.4 Thu Oct 30 14:44:05 2014
+++ src/external/bsd/flex/dist/libmain.c Thu Oct 30 16:21:39 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: libmain.c,v 1.4 2014/10/30 18:44:05 christos Exp $ */
+/* $NetBSD: libmain.c,v 1.5 2014/10/30 20:21:39 christos Exp $ */
/* libmain - flex run-time support library "main" function */
@@ -22,8 +22,10 @@
/* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */
/* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */
/* PURPOSE. */
-#include "flexdef.h"
-__RCSID("$NetBSD: libmain.c,v 1.4 2014/10/30 18:44:05 christos Exp $");
+#include <sys/cdefs.h>
+#ifdef __RCSID
+__RCSID("$NetBSD: libmain.c,v 1.5 2014/10/30 20:21:39 christos Exp $");
+#endif
extern int yylex(void);
Index: src/external/bsd/flex/dist/libyywrap.c
diff -u src/external/bsd/flex/dist/libyywrap.c:1.4 src/external/bsd/flex/dist/libyywrap.c:1.5
--- src/external/bsd/flex/dist/libyywrap.c:1.4 Thu Oct 30 14:44:05 2014
+++ src/external/bsd/flex/dist/libyywrap.c Thu Oct 30 16:21:39 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: libyywrap.c,v 1.4 2014/10/30 18:44:05 christos Exp $ */
+/* $NetBSD: libyywrap.c,v 1.5 2014/10/30 20:21:39 christos Exp $ */
/* libyywrap - flex run-time support library "yywrap" function */
@@ -22,8 +22,10 @@
/* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */
/* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */
/* PURPOSE. */
-#include "flexdef.h"
-__RCSID("$NetBSD: libyywrap.c,v 1.4 2014/10/30 18:44:05 christos Exp $");
+#include <sys/cdefs.h>
+#ifdef __RCSID
+__RCSID("$NetBSD: libyywrap.c,v 1.5 2014/10/30 20:21:39 christos Exp $");
+#endif
int yywrap(void);
int