Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when ...
details: https://anonhg.NetBSD.org/src/rev/9b6ac23c9aa0
branches: trunk
changeset: 526108:9b6ac23c9aa0
user: tv <tv%NetBSD.org@localhost>
date: Thu Apr 25 18:11:53 2002 +0000
description:
HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when HAVE_CONFIG_H,
rather than creating more stubs.
diffstat:
tools/installboot/dev/dec/dec_boot.h | 3 ---
usr.sbin/installboot/arch/alpha.c | 12 ++++++++++--
usr.sbin/installboot/arch/pmax.c | 12 ++++++++++--
usr.sbin/installboot/arch/sun68k.c | 12 ++++++++++--
usr.sbin/installboot/arch/vax.c | 12 ++++++++++--
5 files changed, 40 insertions(+), 11 deletions(-)
diffs (151 lines):
diff -r 228e3d5c5dfc -r 9b6ac23c9aa0 tools/installboot/dev/dec/dec_boot.h
--- a/tools/installboot/dev/dec/dec_boot.h Thu Apr 25 17:01:47 2002 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-/* $NetBSD: dec_boot.h,v 1.1 2002/04/04 00:24:19 lukem Exp $ */
-
-#include "../../sys/dev/dec/dec_boot.h"
diff -r 228e3d5c5dfc -r 9b6ac23c9aa0 usr.sbin/installboot/arch/alpha.c
--- a/usr.sbin/installboot/arch/alpha.c Thu Apr 25 17:01:47 2002 +0000
+++ b/usr.sbin/installboot/arch/alpha.c Thu Apr 25 18:11:53 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alpha.c,v 1.6 2002/04/19 07:08:54 lukem Exp $ */
+/* $NetBSD: alpha.c,v 1.7 2002/04/25 18:11:53 tv Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -98,9 +98,13 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: alpha.c,v 1.6 2002/04/19 07:08:54 lukem Exp $");
+__RCSID("$NetBSD: alpha.c,v 1.7 2002/04/25 18:11:53 tv Exp $");
#endif /* !__lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <sys/stat.h>
@@ -112,7 +116,11 @@
#include <string.h>
#include <unistd.h>
+#if HAVE_CONFIG_H
+#include "../../sys/dev/dec/dec_boot.h"
+#else
#include <dev/dec/dec_boot.h>
+#endif
#include "installboot.h"
diff -r 228e3d5c5dfc -r 9b6ac23c9aa0 usr.sbin/installboot/arch/pmax.c
--- a/usr.sbin/installboot/arch/pmax.c Thu Apr 25 17:01:47 2002 +0000
+++ b/usr.sbin/installboot/arch/pmax.c Thu Apr 25 18:11:53 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmax.c,v 1.4 2002/04/19 07:08:54 lukem Exp $ */
+/* $NetBSD: pmax.c,v 1.5 2002/04/25 18:11:54 tv Exp $ */
/*-
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -101,9 +101,13 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: pmax.c,v 1.4 2002/04/19 07:08:54 lukem Exp $");
+__RCSID("$NetBSD: pmax.c,v 1.5 2002/04/25 18:11:54 tv Exp $");
#endif /* !__lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <sys/stat.h>
@@ -116,7 +120,11 @@
#include <unistd.h>
#include <sys/exec_elf.h>
+#if HAVE_CONFIG_H
+#include "../../sys/dev/dec/dec_boot.h"
+#else
#include <dev/dec/dec_boot.h>
+#endif
#include "installboot.h"
diff -r 228e3d5c5dfc -r 9b6ac23c9aa0 usr.sbin/installboot/arch/sun68k.c
--- a/usr.sbin/installboot/arch/sun68k.c Thu Apr 25 17:01:47 2002 +0000
+++ b/usr.sbin/installboot/arch/sun68k.c Thu Apr 25 18:11:53 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun68k.c,v 1.4 2002/04/24 01:35:25 lukem Exp $ */
+/* $NetBSD: sun68k.c,v 1.5 2002/04/25 18:11:54 tv Exp $ */
/*-
* Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
@@ -38,9 +38,13 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: sun68k.c,v 1.4 2002/04/24 01:35:25 lukem Exp $");
+__RCSID("$NetBSD: sun68k.c,v 1.5 2002/04/25 18:11:54 tv Exp $");
#endif /* !__lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <sys/stat.h>
@@ -52,7 +56,11 @@
#include <string.h>
#include <unistd.h>
+#if HAVE_CONFIG_H
+#include "../../sys/dev/sun/sun_boot.h"
+#else
#include <dev/sun/sun_boot.h>
+#endif
#include "installboot.h"
diff -r 228e3d5c5dfc -r 9b6ac23c9aa0 usr.sbin/installboot/arch/vax.c
--- a/usr.sbin/installboot/arch/vax.c Thu Apr 25 17:01:47 2002 +0000
+++ b/usr.sbin/installboot/arch/vax.c Thu Apr 25 18:11:53 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vax.c,v 1.3 2002/04/19 07:08:54 lukem Exp $ */
+/* $NetBSD: vax.c,v 1.4 2002/04/25 18:11:54 tv Exp $ */
/*-
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -71,9 +71,13 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: vax.c,v 1.3 2002/04/19 07:08:54 lukem Exp $");
+__RCSID("$NetBSD: vax.c,v 1.4 2002/04/25 18:11:54 tv Exp $");
#endif /* !__lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <sys/stat.h>
@@ -84,7 +88,11 @@
#include <stdlib.h>
#include <unistd.h>
+#if HAVE_CONFIG_H
+#include "../../sys/dev/dec/dec_boot.h"
+#else
#include <dev/dec/dec_boot.h>
+#endif
#include "installboot.h"
Home |
Main Index |
Thread Index |
Old Index