diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-11-14 23:02:34 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-11-14 23:02:34 -0500 |
commit | 061efe12b5e1f15341b30088588513e1855eab77 (patch) | |
tree | 19bbaa231b71a66a5834d63f2c5f109c90c35d81 | |
parent | paxldso: always expose ldpaths array (diff) | |
download | pax-utils-061efe12.tar.gz pax-utils-061efe12.tar.bz2 pax-utils-061efe12.zip |
paxldso: fix unused arg warnings when support is disabled
-rw-r--r-- | paxldso.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ #if PAX_LDSO_CACHE extern char *ldso_cache_lookup_lib(elfobj *elf, const char *fname); #else -static inline char *ldso_cache_lookup_lib(elfobj *elf, const char *fname) +static inline char *ldso_cache_lookup_lib(__unused__ elfobj *elf, __unused__ const char *fname) { return NULL; } @@ -54,7 +54,7 @@ extern array_t *ldpaths; #if PAX_LDSO_CONFIG extern int ldso_config_load(const char *fname); #else -static inline int ldso_config_load(const char *fname) +static inline int ldso_config_load(__unused__ const char *fname) { return 0; } |