From fa5e3335f5a26bdbe661f191cd1d78ed3c74c930 Mon Sep 17 00:00:00 2001 From: miod Date: Sat, 4 Jan 2014 10:49:21 +0000 Subject: [PATCH] Add rnddata[] placeholders to make these boot blocks build again. --- sys/arch/aviion/stand/libsa/exec.c | 4 +++- sys/arch/hp300/stand/libsa/exec_hp300.c | 4 +++- sys/arch/mvme68k/stand/libsa/exec_mvme.c | 4 +++- sys/arch/mvme88k/stand/libsa/exec_mvme.c | 4 +++- sys/arch/vax/stand/boot/boot.c | 4 +++- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/sys/arch/aviion/stand/libsa/exec.c b/sys/arch/aviion/stand/libsa/exec.c index 700eb3e8120..ccf47a9a35a 100644 --- a/sys/arch/aviion/stand/libsa/exec.c +++ b/sys/arch/aviion/stand/libsa/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.2 2013/10/10 21:22:07 miod Exp $ */ +/* $OpenBSD: exec.c,v 1.3 2014/01/04 10:49:21 miod Exp $ */ /*- @@ -41,6 +41,8 @@ #include +char rnddata[BOOTRANDOM_MAX]; /* XXX dummy */ + #define BOOT_MAGIC 0x6274ef2e /* need to match locore.S */ /*ARGSUSED*/ diff --git a/sys/arch/hp300/stand/libsa/exec_hp300.c b/sys/arch/hp300/stand/libsa/exec_hp300.c index 4b4cb408efe..accea72805e 100644 --- a/sys/arch/hp300/stand/libsa/exec_hp300.c +++ b/sys/arch/hp300/stand/libsa/exec_hp300.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_hp300.c,v 1.3 2013/02/02 13:34:29 miod Exp $ */ +/* $OpenBSD: exec_hp300.c,v 1.4 2014/01/04 10:49:21 miod Exp $ */ /* $NetBSD: exec.c,v 1.15 1996/10/13 02:29:01 christos Exp $ */ /*- @@ -38,6 +38,8 @@ #include +char rnddata[BOOTRANDOM_MAX]; /* XXX dummy */ + void exec(char *path, void *loadaddr, int howto) { diff --git a/sys/arch/mvme68k/stand/libsa/exec_mvme.c b/sys/arch/mvme68k/stand/libsa/exec_mvme.c index 99c965832e0..4f40ec3b410 100644 --- a/sys/arch/mvme68k/stand/libsa/exec_mvme.c +++ b/sys/arch/mvme68k/stand/libsa/exec_mvme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_mvme.c,v 1.9 2012/12/31 21:35:32 miod Exp $ */ +/* $OpenBSD: exec_mvme.c,v 1.10 2014/01/04 10:49:21 miod Exp $ */ /*- @@ -41,6 +41,8 @@ #include +char rnddata[BOOTRANDOM_MAX]; /* XXX dummy */ + /*ARGSUSED*/ void exec_mvme(file, flag) diff --git a/sys/arch/mvme88k/stand/libsa/exec_mvme.c b/sys/arch/mvme88k/stand/libsa/exec_mvme.c index 21996f68be0..288b4199cb0 100644 --- a/sys/arch/mvme88k/stand/libsa/exec_mvme.c +++ b/sys/arch/mvme88k/stand/libsa/exec_mvme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_mvme.c,v 1.14 2008/03/31 22:14:43 miod Exp $ */ +/* $OpenBSD: exec_mvme.c,v 1.15 2014/01/04 10:49:21 miod Exp $ */ /*- @@ -41,6 +41,8 @@ #include +char rnddata[BOOTRANDOM_MAX]; /* XXX dummy */ + /*ARGSUSED*/ void exec_mvme(file, flag) diff --git a/sys/arch/vax/stand/boot/boot.c b/sys/arch/vax/stand/boot/boot.c index 0607d7fc158..ab4ac9eec91 100644 --- a/sys/arch/vax/stand/boot/boot.c +++ b/sys/arch/vax/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.23 2013/08/15 13:00:48 otto Exp $ */ +/* $OpenBSD: boot.c,v 1.24 2014/01/04 10:49:21 miod Exp $ */ /* $NetBSD: boot.c,v 1.18 2002/05/31 15:58:26 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -53,6 +53,8 @@ char line[100]; int bootdev, debug; extern unsigned opendev; +char rnddata[BOOTRANDOM_MAX]; /* XXX dummy */ + void usage(char *), boot(char *), halt(char *); void Xmain(void); void autoconf(void); -- 2.20.1