This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 2/3] Add hidden_proto for getauxval
- From: Richard Henderson <rth at twiddle dot net>
- To: libc-alpha at sourceware dot org
- Date: Thu, 8 Jun 2017 15:57:27 -0700
- Subject: [PATCH 2/3] Add hidden_proto for getauxval
- Authentication-results: sourceware.org; auth=none
- References: <20170608225728.26779-1-rth@twiddle.net>
---
include/sys/auxv.h | 2 ++
misc/getauxval.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/include/sys/auxv.h b/include/sys/auxv.h
index dede2c3..2e1f86b 100644
--- a/include/sys/auxv.h
+++ b/include/sys/auxv.h
@@ -1 +1,3 @@
#include <misc/sys/auxv.h>
+
+libc_hidden_proto (getauxval)
diff --git a/misc/getauxval.c b/misc/getauxval.c
index c83fbce..458f58d 100644
--- a/misc/getauxval.c
+++ b/misc/getauxval.c
@@ -43,3 +43,4 @@ __getauxval (unsigned long int type)
}
weak_alias (__getauxval, getauxval)
+libc_hidden_weak (getauxval)
--
2.9.4