summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/hcreate.c
diff options
context:
space:
mode:
authorguenther <>2015-09-10 18:13:46 +0000
committerguenther <>2015-09-10 18:13:46 +0000
commitb022c4b5d5862d2163006883afb64e8e3dcf6cd3 (patch)
tree6aaac16d7329a2515c241e88af030f17d748ff9b /src/lib/libc/stdlib/hcreate.c
parent4d8f1b8a1c6038052fa50739b021c737eedb444f (diff)
downloadopenbsd-b022c4b5d5862d2163006883afb64e8e3dcf6cd3.tar.gz
openbsd-b022c4b5d5862d2163006883afb64e8e3dcf6cd3.tar.bz2
openbsd-b022c4b5d5862d2163006883afb64e8e3dcf6cd3.zip
Pull in namespace.h when building all .c files using gcc's -include option,
so that we can provide asm labels for the memcpy/memset/__stack_smash_handler calls that it generates ab initio. Eliminate direct #includes of it. Make sure it's a dependency of all objects (unnecessary for asm, but close enough). ok deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/hcreate.c')
-rw-r--r--src/lib/libc/stdlib/hcreate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/hcreate.c b/src/lib/libc/stdlib/hcreate.c
index d0a377010e..cb547a8d36 100644
--- a/src/lib/libc/stdlib/hcreate.c
+++ b/src/lib/libc/stdlib/hcreate.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: hcreate.c,v 1.5 2014/08/10 02:15:18 guenther Exp $ */ 1/* $OpenBSD: hcreate.c,v 1.6 2015/09/10 18:13:46 guenther Exp $ */
2/* $NetBSD: hcreate.c,v 1.5 2004/04/23 02:48:12 simonb Exp $ */ 2/* $NetBSD: hcreate.c,v 1.5 2004/04/23 02:48:12 simonb Exp $ */
3 3
4/* 4/*
@@ -47,7 +47,6 @@
47 * nobody had a copy in the office, so... 47 * nobody had a copy in the office, so...
48 */ 48 */
49 49
50#include "namespace.h"
51#include <assert.h> 50#include <assert.h>
52#include <errno.h> 51#include <errno.h>
53#include <stdint.h> 52#include <stdint.h>