Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Mark _rtld_invalid_paths static as ldd can...



details:   https://anonhg.NetBSD.org/src/rev/48a0de8f46e3
branches:  trunk
changeset: 1009410:48a0de8f46e3
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Apr 22 23:54:32 2020 +0000

description:
Mark _rtld_invalid_paths static as ldd can end up with two copies

diffstat:

 libexec/ld.elf_so/search.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b0db19941751 -r 48a0de8f46e3 libexec/ld.elf_so/search.c
--- a/libexec/ld.elf_so/search.c        Wed Apr 22 23:53:27 2020 +0000
+++ b/libexec/ld.elf_so/search.c        Wed Apr 22 23:54:32 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: search.c,v 1.26 2019/10/13 20:18:42 mrg Exp $   */
+/*     $NetBSD: search.c,v 1.27 2020/04/22 23:54:32 joerg Exp $         */
 
 /*
  * Copyright 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: search.c,v 1.26 2019/10/13 20:18:42 mrg Exp $");
+__RCSID("$NetBSD: search.c,v 1.27 2020/04/22 23:54:32 joerg Exp $");
 #endif /* not lint */
 
 #include <err.h>
@@ -60,7 +60,7 @@
 /*
  * Data declarations.
  */
-Search_Path    *_rtld_invalid_paths;
+static Search_Path    *_rtld_invalid_paths;
 
 static Obj_Entry *_rtld_search_library_path(const char *, size_t,
     const char *, size_t, int);



Home | Main Index | Thread Index | Old Index