Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/byacc/dist take care of libc.
details: https://anonhg.NetBSD.org/src/rev/fd99696927bf
branches: trunk
changeset: 748613:fd99696927bf
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 29 01:16:51 2009 +0000
description:
take care of libc.
diffstat:
external/bsd/byacc/dist/skeleton.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 69ef2aec715e -r fd99696927bf external/bsd/byacc/dist/skeleton.c
--- a/external/bsd/byacc/dist/skeleton.c Thu Oct 29 01:07:00 2009 +0000
+++ b/external/bsd/byacc/dist/skeleton.c Thu Oct 29 01:16:51 2009 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: skeleton.c,v 1.2 2009/10/29 00:56:20 christos Exp $ */
+/* $NetBSD: skeleton.c,v 1.3 2009/10/29 01:16:51 christos Exp $ */
/* Id: skeleton.c,v 1.19 2008/12/24 14:52:28 tom Exp */
#include "defs.h"
#include <sys/cdefs.h>
-__RCSID("$NetBSD: skeleton.c,v 1.2 2009/10/29 00:56:20 christos Exp $");
+__RCSID("$NetBSD: skeleton.c,v 1.3 2009/10/29 01:16:51 christos Exp $");
/* The definition of yysccsid in the banner should be replaced with */
/* a #pragma ident directive if the target C compiler supports */
@@ -24,6 +24,9 @@
"static const char yysccsid[] = \"@(#)yaccpar 1.9 (Berkeley) 02/21/93\";",
"#endif",
"",
+ "#ifdef _LIBC",
+ "#include \"namespace.h\"",
+ "#endif",
"#include <stdlib.h>",
"#include <string.h>",
"",
Home |
Main Index |
Thread Index |
Old Index