summaryrefslogtreecommitdiff
path: root/src/divertcmd.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2011-03-13 19:56:01 +0100
committerGuillem Jover <guillem@debian.org>2011-03-14 07:21:56 +0100
commitdcac09fadeaea420267c85d430ed7668f3e37ba7 (patch)
treeaab6e7e1b7408a610ca6d8eaa9c92f3eb956ffd3 /src/divertcmd.c
parente0ae796d8cde360c5bf9b46b49998f6efa3b8c82 (diff)
downloaddpkg-dcac09fadeaea420267c85d430ed7668f3e37ba7.tar.gz
Make admindir file local everywhere
The interface to get and set the database directory is dpkg_db_get_dir() and dpkg_db_set_dir().
Diffstat (limited to 'src/divertcmd.c')
-rw-r--r--src/divertcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/divertcmd.c b/src/divertcmd.c
index 0c0d21383..35753402a 100644
--- a/src/divertcmd.c
+++ b/src/divertcmd.c
@@ -49,7 +49,7 @@
const char thisname[] = "dpkg-divert";
const char printforhelp[] = N_("Use --help for help about querying packages.");
-const char *admindir;
+static const char *admindir;
static bool opt_pkgname_match_any = true;
static const char *opt_pkgname = NULL;