Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/m4 Don't depend on yacc skeleton to include sys/cdef...



details:   https://anonhg.NetBSD.org/src/rev/bf24d9a53acc
branches:  trunk
changeset: 805507:bf24d9a53acc
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jan 04 18:31:09 2015 +0000

description:
Don't depend on yacc skeleton to include sys/cdefs.h early.

diffstat:

 usr.bin/m4/parser.y |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r e8585f226d13 -r bf24d9a53acc usr.bin/m4/parser.y
--- a/usr.bin/m4/parser.y       Sun Jan 04 18:30:05 2015 +0000
+++ b/usr.bin/m4/parser.y       Sun Jan 04 18:31:09 2015 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: parser.y,v 1.2 2009/10/26 21:11:28 christos Exp $ */
+/* $NetBSD: parser.y,v 1.3 2015/01/04 18:31:09 joerg Exp $ */
 /* $OpenBSD: parser.y,v 1.6 2008/08/21 21:00:14 espie Exp $ */
 /*
  * Copyright (c) 2004 Marc Espie <espie%cvs.openbsd.org@localhost>
@@ -19,7 +19,8 @@
 #if HAVE_NBTOOL_CONFIG_H
 #include "nbtool_config.h"
 #endif
-__RCSID("$NetBSD: parser.y,v 1.2 2009/10/26 21:11:28 christos Exp $");
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: parser.y,v 1.3 2015/01/04 18:31:09 joerg Exp $");
 #include <stdint.h>
 #define YYSTYPE        int32_t
 extern int32_t end_result;



Home | Main Index | Thread Index | Old Index