Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/hexdump add
details: https://anonhg.NetBSD.org/src/rev/aa44cd758f03
branches: trunk
changeset: 553884:aa44cd758f03
user: dmcmahill <dmcmahill%NetBSD.org@localhost>
date: Wed Oct 22 12:30:39 2003 +0000
description:
add
#if HAVE_CONFIG_H
#include "config.h"
#endif
to get this to build under solaris-2.6/sparc with gcc-2.95.1 as part of
the NetBSD cross toolchain build. Fixes PR23211. Patch approved by
Alistair Crooks.
diffstat:
usr.bin/hexdump/conv.c | 8 ++++++--
usr.bin/hexdump/display.c | 8 ++++++--
usr.bin/hexdump/hexdump.c | 8 ++++++--
usr.bin/hexdump/hexsyntax.c | 8 ++++++--
usr.bin/hexdump/odsyntax.c | 8 ++++++--
usr.bin/hexdump/parse.c | 8 ++++++--
6 files changed, 36 insertions(+), 12 deletions(-)
diffs (150 lines):
diff -r 9cd820abd1af -r aa44cd758f03 usr.bin/hexdump/conv.c
--- a/usr.bin/hexdump/conv.c Wed Oct 22 11:56:35 2003 +0000
+++ b/usr.bin/hexdump/conv.c Wed Oct 22 12:30:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conv.c,v 1.9 2003/08/07 11:14:02 agc Exp $ */
+/* $NetBSD: conv.c,v 1.10 2003/10/22 12:30:39 dmcmahill Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -34,10 +34,14 @@
#if 0
static char sccsid[] = "@(#)conv.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: conv.c,v 1.9 2003/08/07 11:14:02 agc Exp $");
+__RCSID("$NetBSD: conv.c,v 1.10 2003/10/22 12:30:39 dmcmahill Exp $");
#endif
#endif /* not lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <stdio.h>
diff -r 9cd820abd1af -r aa44cd758f03 usr.bin/hexdump/display.c
--- a/usr.bin/hexdump/display.c Wed Oct 22 11:56:35 2003 +0000
+++ b/usr.bin/hexdump/display.c Wed Oct 22 12:30:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: display.c,v 1.16 2003/09/12 12:59:34 cl Exp $ */
+/* $NetBSD: display.c,v 1.17 2003/10/22 12:30:39 dmcmahill Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -34,10 +34,14 @@
#if 0
static char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: display.c,v 1.16 2003/09/12 12:59:34 cl Exp $");
+__RCSID("$NetBSD: display.c,v 1.17 2003/10/22 12:30:39 dmcmahill Exp $");
#endif
#endif /* not lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <sys/stat.h>
diff -r 9cd820abd1af -r aa44cd758f03 usr.bin/hexdump/hexdump.c
--- a/usr.bin/hexdump/hexdump.c Wed Oct 22 11:56:35 2003 +0000
+++ b/usr.bin/hexdump/hexdump.c Wed Oct 22 12:30:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hexdump.c,v 1.10 2003/08/07 11:14:03 agc Exp $ */
+/* $NetBSD: hexdump.c,v 1.11 2003/10/22 12:30:39 dmcmahill Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -39,10 +39,14 @@
#if 0
static char sccsid[] = "@(#)hexdump.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: hexdump.c,v 1.10 2003/08/07 11:14:03 agc Exp $");
+__RCSID("$NetBSD: hexdump.c,v 1.11 2003/10/22 12:30:39 dmcmahill Exp $");
#endif
#endif /* not lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <errno.h>
diff -r 9cd820abd1af -r aa44cd758f03 usr.bin/hexdump/hexsyntax.c
--- a/usr.bin/hexdump/hexsyntax.c Wed Oct 22 11:56:35 2003 +0000
+++ b/usr.bin/hexdump/hexsyntax.c Wed Oct 22 12:30:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hexsyntax.c,v 1.10 2003/08/07 11:14:05 agc Exp $ */
+/* $NetBSD: hexsyntax.c,v 1.11 2003/10/22 12:30:39 dmcmahill Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,10 +34,14 @@
#if 0
static char sccsid[] = "@(#)hexsyntax.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: hexsyntax.c,v 1.10 2003/08/07 11:14:05 agc Exp $");
+__RCSID("$NetBSD: hexsyntax.c,v 1.11 2003/10/22 12:30:39 dmcmahill Exp $");
#endif
#endif /* not lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <err.h>
diff -r 9cd820abd1af -r aa44cd758f03 usr.bin/hexdump/odsyntax.c
--- a/usr.bin/hexdump/odsyntax.c Wed Oct 22 11:56:35 2003 +0000
+++ b/usr.bin/hexdump/odsyntax.c Wed Oct 22 12:30:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: odsyntax.c,v 1.18 2003/08/07 11:14:05 agc Exp $ */
+/* $NetBSD: odsyntax.c,v 1.19 2003/10/22 12:30:39 dmcmahill Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,10 +34,14 @@
#if 0
static char sccsid[] = "@(#)odsyntax.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: odsyntax.c,v 1.18 2003/08/07 11:14:05 agc Exp $");
+__RCSID("$NetBSD: odsyntax.c,v 1.19 2003/10/22 12:30:39 dmcmahill Exp $");
#endif
#endif /* not lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <ctype.h>
diff -r 9cd820abd1af -r aa44cd758f03 usr.bin/hexdump/parse.c
--- a/usr.bin/hexdump/parse.c Wed Oct 22 11:56:35 2003 +0000
+++ b/usr.bin/hexdump/parse.c Wed Oct 22 12:30:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.15 2003/08/07 11:14:05 agc Exp $ */
+/* $NetBSD: parse.c,v 1.16 2003/10/22 12:30:39 dmcmahill Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -34,10 +34,14 @@
#if 0
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: parse.c,v 1.15 2003/08/07 11:14:05 agc Exp $");
+__RCSID("$NetBSD: parse.c,v 1.16 2003/10/22 12:30:39 dmcmahill Exp $");
#endif
#endif /* not lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/file.h>
Home |
Main Index |
Thread Index |
Old Index