summaryrefslogtreecommitdiffstats
path: root/lib/libc/hidden/err.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-10 18:13:46 +0000
committerguenther <guenther@openbsd.org>2015-09-10 18:13:46 +0000
commite6f98e3a163d69d2a20131b8c80e6fad49fe7683 (patch)
tree5ab5a47b62d9d534bee925c48d67d4c5031e09a1 /lib/libc/hidden/err.h
parentWhen loading a DSA key from an raw (without DH parameters) ASN.1 serialization, (diff)
downloadwireguard-openbsd-e6f98e3a163d69d2a20131b8c80e6fad49fe7683.tar.xz
wireguard-openbsd-e6f98e3a163d69d2a20131b8c80e6fad49fe7683.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 'lib/libc/hidden/err.h')
-rw-r--r--lib/libc/hidden/err.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/hidden/err.h b/lib/libc/hidden/err.h
index d634141db9b..af01214a8a2 100644
--- a/lib/libc/hidden/err.h
+++ b/lib/libc/hidden/err.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: err.h,v 1.1 2015/08/31 02:53:56 guenther Exp $ */
+/* $OpenBSD: err.h,v 1.2 2015/09/10 18:13:46 guenther Exp $ */
/*
* Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
*
@@ -19,7 +19,6 @@
#define _LIBC_ERR_H_
#include_next <err.h>
-#include "namespace.h"
PROTO_NORMAL(err);
PROTO_NORMAL(errc);