stktest: Make some variables static
authorDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 02:45:42 +0000 (21:45 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 16:26:58 +0000 (11:26 -0500)
tools/stktest.c

index fa8969f..17d1aeb 100644 (file)
@@ -82,15 +82,15 @@ struct test {
 
 static GMainLoop *main_loop = NULL;
 static volatile sig_atomic_t __terminated = 0;
-GList *tests = NULL;
-GList *cur_test = NULL;
+static GList *tests = NULL;
+static GList *cur_test = NULL;
 
 /* DBus related */
 static DBusConnection *conn;
 static gboolean ofono_running = FALSE;
 static guint modem_changed_watch;
-enum test_state state;
-DBusMessage *pending = NULL;
+static enum test_state state;
+static DBusMessage *pending = NULL;
 
 /* Emulator setup */
 static guint server_watch;