diff options
author | Kurt Miller <kurt@intricatesoftware.com> | 2020-03-02 10:28:34 -0700 |
---|---|---|
committer | Kurt Miller <kurt@intricatesoftware.com> | 2020-03-02 10:28:34 -0700 |
commit | b783570c671c9652aeaa9b535a4cb45054aa01e0 (patch) | |
tree | e7281dc91b89e1d5eed3fda3f4cbc6bcd6ac53b5 | |
parent | 0c4c5765b58142fbcee522be85be562aa4e2ba32 (diff) | |
download | nss-hg-b783570c671c9652aeaa9b535a4cb45054aa01e0.tar.gz |
Bug 1618400 - Fix unused variable 'getauxval' on OpenBSD/arm64 r=jcj
https://bugzilla.mozilla.org/show_bug.cgi?id=1618400
-rw-r--r-- | lib/freebl/blinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/freebl/blinit.c b/lib/freebl/blinit.c index 01658ba04..002569504 100644 --- a/lib/freebl/blinit.c +++ b/lib/freebl/blinit.c @@ -134,7 +134,7 @@ CheckX86CPUSupport() #include <sys/auxv.h> #endif extern unsigned long getauxval(unsigned long type) __attribute__((weak)); -#else +#elif defined(__arm__) || !defined(__OpenBSD__) static unsigned long (*getauxval)(unsigned long) = NULL; #endif /* defined(__GNUC__) && __GNUC__ >= 2 && defined(__ELF__)*/ |