Module Name:    src
Committed By:   joerg
Date:           Wed Apr 22 23:54:32 UTC 2020

Modified Files:
        src/libexec/ld.elf_so: search.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/libexec/ld.elf_so/search.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/search.c
diff -u src/libexec/ld.elf_so/search.c:1.26 src/libexec/ld.elf_so/search.c:1.27
--- src/libexec/ld.elf_so/search.c:1.26	Sun Oct 13 20:18:42 2019
+++ src/libexec/ld.elf_so/search.c	Wed Apr 22 23:54:32 2020
@@ -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 <m...@3am-software.com>
@@ -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 @@ __RCSID("$NetBSD: search.c,v 1.26 2019/1
 /*
  * 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);

Reply via email to