summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-05-12 09:05:18 +0300
committerToomas Soome <tsoome@me.com>2021-01-12 21:14:21 +0200
commitae9405842e25ee75c6a9fd1996e04b41fbd2eda3 (patch)
tree9a00038ec8e35e6a3e01d92e39c931c540f701d3 /usr/src
parent338c2f033035af5b17f61d9df825917015c95a35 (diff)
downloadillumos-joyent-ae9405842e25ee75c6a9fd1996e04b41fbd2eda3.tar.gz
13420 libld: symbol 'dynsort_compare_syms' is multiply-defined
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/sgs/libld/common/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/sgs/libld/common/update.c b/usr/src/cmd/sgs/libld/common/update.c
index 7626520cd7..d61d4cfcd5 100644
--- a/usr/src/cmd/sgs/libld/common/update.c
+++ b/usr/src/cmd/sgs/libld/common/update.c
@@ -58,7 +58,7 @@ sym_hash_compare(Sym_s_list * s1, Sym_s_list * s2)
* we need to examine the symbols the indices reference. It is safe, because
* the linker is single threaded.
*/
-Sym *dynsort_compare_syms;
+static Sym *dynsort_compare_syms;
static int
dynsort_compare(const void *idx1, const void *idx2)