From d999ac702674d2644cf122cd70a0fd66d45bdff2 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sun, 28 May 2017 13:57:56 -0500 Subject: [PATCH] Quiet warning about rk_getprocauxval() --- lib/roken/getauxval.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/roken/getauxval.c b/lib/roken/getauxval.c index 31f52fa6e..f0ea0d0c3 100644 --- a/lib/roken/getauxval.c +++ b/lib/roken/getauxval.c @@ -134,6 +134,7 @@ rk_getauxv(unsigned long type) return NULL; } +#ifndef HAVE_GETAUXVAL static unsigned long rk_getprocauxval(unsigned long type) { @@ -145,6 +146,7 @@ rk_getprocauxval(unsigned long type) } return a->a_un.a_val; } +#endif /** * Like the nearly-standard getauxval(). If the auxval is not found