diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-07 20:02:12 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-07 20:02:12 +0000 |
commit | 21bbca62b0b1d1ace431d16622a39aba9324618f (patch) | |
tree | 5a812befd8e79b4fdf0d51800220bb5f40521f3c /sys/arch/hp300 | |
parent | a9dc703f346eeebf5f5da28b064af6ec936eb4c4 (diff) |
Move exec() libsa prototype to hp300 stand, now that it can no longer be
found in libsa.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/stand/include/samachdep.h | 3 | ||||
-rw-r--r-- | sys/arch/hp300/stand/libsa/exec_hp300.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hp300/stand/include/samachdep.h b/sys/arch/hp300/stand/include/samachdep.h index f604013680e..1ce6717e8be 100644 --- a/sys/arch/hp300/stand/include/samachdep.h +++ b/sys/arch/hp300/stand/include/samachdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: samachdep.h,v 1.7 2011/08/18 20:02:58 miod Exp $ */ +/* $OpenBSD: samachdep.h,v 1.8 2013/01/07 20:02:11 miod Exp $ */ /* $NetBSD: samachdep.h,v 1.3 1997/05/12 07:54:45 thorpej Exp $ */ /* @@ -61,6 +61,7 @@ extern int userom; int badaddr(char *); void call_req_reboot(void); +void exec(char *, void *, int); char *getmachineid(void); void hpibinit(void); void romout(int, char *); diff --git a/sys/arch/hp300/stand/libsa/exec_hp300.c b/sys/arch/hp300/stand/libsa/exec_hp300.c index 5ba662833e6..2edd6835377 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.1 2013/01/01 17:18:49 miod Exp $ */ +/* $OpenBSD: exec_hp300.c,v 1.2 2013/01/07 20:02:11 miod Exp $ */ /* $NetBSD: exec.c,v 1.15 1996/10/13 02:29:01 christos Exp $ */ /*- @@ -34,6 +34,7 @@ #include <sys/reboot.h> #include "stand.h" +#include "samachdep.h" #include <lib/libsa/loadfile.h> |