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/0c62709e5cca
branches:  trunk
changeset: 971375:0c62709e5cca
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 b1fa6e075a45 -r 0c62709e5cca 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