Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Fix non native build on metachar.c



details:   https://anonhg.NetBSD.org/src/rev/4e9541f2092f
branches:  trunk
changeset: 338941:4e9541f2092f
user:      justin <justin%NetBSD.org@localhost>
date:      Thu Jun 18 15:34:44 2015 +0000

description:
Fix non native build on metachar.c

diffstat:

 usr.bin/make/metachar.c |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r bb97d3a474a9 -r 4e9541f2092f usr.bin/make/metachar.c
--- a/usr.bin/make/metachar.c   Thu Jun 18 15:19:50 2015 +0000
+++ b/usr.bin/make/metachar.c   Thu Jun 18 15:34:44 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: metachar.c,v 1.1 2015/06/17 15:34:55 christos Exp $    */
+/*     $NetBSD: metachar.c,v 1.2 2015/06/18 15:34:44 justin Exp $      */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -28,8 +28,18 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#ifndef MAKE_NATIVE
+static char rcsid[] = "$NetBSD: metachar.c,v 1.2 2015/06/18 15:34:44 justin Exp $";
+#else
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: metachar.c,v 1.1 2015/06/17 15:34:55 christos Exp $");
+#ifndef lint
+#if 0
+static char sccsid[] = "@(#)buf.c       8.1 (Berkeley) 6/6/93";
+#else
+__RCSID("$NetBSD: metachar.c,v 1.2 2015/06/18 15:34:44 justin Exp $");
+#endif
+#endif /* not lint */
+#endif
 
 #include "metachar.h"
 /*



Home | Main Index | Thread Index | Old Index