diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2010-05-14 21:08:29 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2010-05-14 21:08:29 +0000 |
commit | 73195c73ba1ad5ce930e4f96391cb9eb6e5ff0de (patch) | |
tree | e7020fbf25164969c1e1ee61697886b92f944372 /sys/arch/alpha | |
parent | 3cce8de3c5ac3b5f6a69a551cd7f542ea28ce781 (diff) |
don't warn about libsa's exit(); pull in declaration for memcpy()
courtesy of gcc4; ok kettenis@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/stand/Makefile.inc | 4 | ||||
-rw-r--r-- | sys/arch/alpha/stand/prom.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/alpha/stand/Makefile.inc b/sys/arch/alpha/stand/Makefile.inc index dd81a0c79b3..09fba827e80 100644 --- a/sys/arch/alpha/stand/Makefile.inc +++ b/sys/arch/alpha/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.10 2006/09/26 23:14:52 martin Exp $ +# $OpenBSD: Makefile.inc,v 1.11 2010/05/14 21:08:28 naddy Exp $ # $NetBSD: Makefile.inc,v 1.8 1997/04/06 08:39:38 cgd Exp $ .include <bsd.own.mk> # for ELF_TOOLCHAIN definition @@ -22,4 +22,4 @@ XCPPFLAGS+= -DHEAP_LIMIT="0x${HEAP_LIMIT}" CFLAGS+= -fno-stack-protector -fno-builtin-printf \ -fno-builtin-vprintf -fno-builtin-putchar \ - -fno-builtin-puts + -fno-builtin-puts -fno-builtin-exit diff --git a/sys/arch/alpha/stand/prom.c b/sys/arch/alpha/stand/prom.c index 57627f02900..f27bedc449a 100644 --- a/sys/arch/alpha/stand/prom.c +++ b/sys/arch/alpha/stand/prom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prom.c,v 1.7 2009/09/30 19:43:44 miod Exp $ */ +/* $OpenBSD: prom.c,v 1.8 2010/05/14 21:08:28 naddy Exp $ */ /* $NetBSD: prom.c,v 1.2 1996/11/25 16:18:16 cgd Exp $ */ /* @@ -27,6 +27,8 @@ * the rights to redistribute these changes. */ +#include <lib/libsa/stand.h> + #include <sys/types.h> #include <machine/rpb.h> |