summaryrefslogtreecommitdiffstats
path: root/sbin/ldconfig
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2001-02-22 21:53:39 +0000
committerps <ps@FreeBSD.org>2001-02-22 21:53:39 +0000
commit5108b14206c79d1523e59dcb1f75381f9f8ff9c9 (patch)
tree714cd45ece7ee8ce9092315fa73afebcf1cb2639 /sbin/ldconfig
parent65fa889a568f28016bc5b0bec0e238ae1ba5f299 (diff)
downloadFreeBSD-src-5108b14206c79d1523e59dcb1f75381f9f8ff9c9.zip
FreeBSD-src-5108b14206c79d1523e59dcb1f75381f9f8ff9c9.tar.gz
Elminate common declaration.
Reviewed by: peter
Diffstat (limited to 'sbin/ldconfig')
-rw-r--r--sbin/ldconfig/elfhints.c1
-rw-r--r--sbin/ldconfig/ldconfig.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ldconfig/elfhints.c b/sbin/ldconfig/elfhints.c
index 8dd1354..cda2269 100644
--- a/sbin/ldconfig/elfhints.c
+++ b/sbin/ldconfig/elfhints.c
@@ -53,6 +53,7 @@ static void write_elf_hints(const char *);
static const char *dirs[MAXDIRS];
static int ndirs;
+int insecure;
static void
add_dir(const char *hintsfile, const char *name, int trusted)
diff --git a/sbin/ldconfig/ldconfig.h b/sbin/ldconfig/ldconfig.h
index 71172aa..2a1e426 100644
--- a/sbin/ldconfig/ldconfig.h
+++ b/sbin/ldconfig/ldconfig.h
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-int insecure; /* -i flag, needed here for elfhints.c */
+extern int insecure; /* -i flag, needed here for elfhints.c */
__BEGIN_DECLS
void list_elf_hints __P((const char *));
OpenPOWER on IntegriCloud