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/3c6ca5b9e1bb
branches:  trunk
changeset: 335365:3c6ca5b9e1bb
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 2db46420ceed -r 3c6ca5b9e1bb 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