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 do the library stubs differently



details:   https://anonhg.NetBSD.org/src/rev/d824c5820323
branches:  trunk
changeset: 333369:d824c5820323
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 30 20:21:39 2014 +0000

description:
do the library stubs differently

diffstat:

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

diffs (44 lines):

diff -r 734fd69de085 -r d824c5820323 external/bsd/flex/dist/libmain.c
--- a/external/bsd/flex/dist/libmain.c  Thu Oct 30 18:44:05 2014 +0000
+++ b/external/bsd/flex/dist/libmain.c  Thu Oct 30 20:21:39 2014 +0000
@@ -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);
 
diff -r 734fd69de085 -r d824c5820323 external/bsd/flex/dist/libyywrap.c
--- a/external/bsd/flex/dist/libyywrap.c        Thu Oct 30 18:44:05 2014 +0000
+++ b/external/bsd/flex/dist/libyywrap.c        Thu Oct 30 20:21:39 2014 +0000
@@ -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



Home | Main Index | Thread Index | Old Index