changeset 20232:e3fed5493524

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>
author Toomas Soome <tsoome@me.com>
date Tue, 12 May 2020 09:05:18 +0300
parents 00a82aa93317
children 65462c7d0b00
files usr/src/cmd/sgs/libld/common/update.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/sgs/libld/common/update.c	Mon Apr 13 18:42:22 2020 +0300
+++ b/usr/src/cmd/sgs/libld/common/update.c	Tue May 12 09:05:18 2020 +0300
@@ -58,7 +58,7 @@
  * 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)