diff options
author | ps <ps@FreeBSD.org> | 2001-02-22 21:53:39 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2001-02-22 21:53:39 +0000 |
commit | 5108b14206c79d1523e59dcb1f75381f9f8ff9c9 (patch) | |
tree | 714cd45ece7ee8ce9092315fa73afebcf1cb2639 /sbin | |
parent | 65fa889a568f28016bc5b0bec0e238ae1ba5f299 (diff) | |
download | FreeBSD-src-5108b14206c79d1523e59dcb1f75381f9f8ff9c9.zip FreeBSD-src-5108b14206c79d1523e59dcb1f75381f9f8ff9c9.tar.gz |
Elminate common declaration.
Reviewed by: peter
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ldconfig/elfhints.c | 1 | ||||
-rw-r--r-- | sbin/ldconfig/ldconfig.h | 2 |
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 *)); |