Browse Source

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@
OPENBSD_5_9
guenther 9 years ago
parent
commit
02ef5130b7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/lib/libc/stdlib/hcreate.c

+ 1
- 2
src/lib/libc/stdlib/hcreate.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: hcreate.c,v 1.5 2014/08/10 02:15:18 guenther Exp $ */
/* $OpenBSD: hcreate.c,v 1.6 2015/09/10 18:13:46 guenther Exp $ */
/* $NetBSD: hcreate.c,v 1.5 2004/04/23 02:48:12 simonb Exp $ */ /* $NetBSD: hcreate.c,v 1.5 2004/04/23 02:48:12 simonb Exp $ */
/* /*
@ -47,7 +47,6 @@
* nobody had a copy in the office, so... * nobody had a copy in the office, so...
*/ */
#include "namespace.h"
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <stdint.h> #include <stdint.h>


Loading…
Cancel
Save