summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-08-06 06:58:45 +0100
committerRichard Hughes <richard@hughsie.com>2008-08-06 06:58:45 +0100
commit4756da4b8157d3d6984b0a4482081100dd8115a4 (patch)
treead5ba218331bfb3c6b4784a293c95fae771f4a9e /tools
parentb242cbd9a617b4cf1d62cb22e3680167683577fd (diff)
downloadupower-4756da4b8157d3d6984b0a4482081100dd8115a4.tar.gz
make some stuff non-global in devkit-power
Diffstat (limited to 'tools')
-rw-r--r--tools/dkp-tool.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/dkp-tool.c b/tools/dkp-tool.c
index b8693a3..c2f6424 100644
--- a/tools/dkp-tool.c
+++ b/tools/dkp-tool.c
@@ -36,11 +36,7 @@
#include "dkp-client-device.h"
static GMainLoop *loop;
-
-static gboolean opt_enumerate = FALSE;
-static gboolean opt_monitor = FALSE;
static gboolean opt_monitor_detail = FALSE;
-static gchar *opt_show_info = FALSE;
/**
* dkp_tool_device_added_cb:
@@ -103,6 +99,9 @@ main (int argc, char **argv)
GOptionContext *context;
gboolean verbose = FALSE;
gboolean opt_dump = FALSE;
+ gboolean opt_enumerate = FALSE;
+ gboolean opt_monitor = FALSE;
+ gchar *opt_show_info = FALSE;
unsigned int n;
DkpClient *client;