summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/sparc/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/sparc/machdep.c')
-rw-r--r--sys/arch/sparc/sparc/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index f8067b59510..10a475506e5 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.100 2004/05/30 21:52:49 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.101 2004/07/06 21:05:36 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */
/*
@@ -987,6 +987,7 @@ mapdev(phys, virt, offset, size)
return (ret);
}
+#ifdef COMPAT_SUNOS
int
cpu_exec_aout_makecmds(p, epp)
struct proc *p;
@@ -994,13 +995,12 @@ cpu_exec_aout_makecmds(p, epp)
{
int error = ENOEXEC;
-#ifdef COMPAT_SUNOS
extern int sunos_exec_aout_makecmds(struct proc *, struct exec_package *);
if ((error = sunos_exec_aout_makecmds(p, epp)) == 0)
return 0;
-#endif
return error;
}
+#endif
#ifdef SUN4
void