summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-15 21:53:56 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-15 21:53:56 +0100
commit62b881fc0dad52ec0d26e13b61c119e817ca90c6 (patch)
tree924053b861b4cde680fb6b254f9ae86ad1eafc12 /tools
parentacf36054a99bfc2f1365ac8278491ea901484c02 (diff)
downloadofono-62b881fc0dad52ec0d26e13b61c119e817ca90c6.tar.bz2
tools: Make two functions of stktest static
Diffstat (limited to 'tools')
-rw-r--r--tools/stktest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/stktest.c b/tools/stktest.c
index bad15721..688d720b 100644
--- a/tools/stktest.c
+++ b/tools/stktest.c
@@ -115,8 +115,8 @@ static GAtServer *emulator;
/* Emulated modem state variables */
static int modem_mode = 0;
-void __stktest_test_next();
-void __stktest_test_finish(gboolean successful);
+static void __stktest_test_next();
+static void __stktest_test_finish(gboolean successful);
static gboolean create_tcp(void);
#define STKTEST_AGENT_ASSERT(expr) \
@@ -3366,7 +3366,7 @@ static void power_down_reply(DBusPendingCall *call, void *user_data)
__stktest_test_next();
}
-void __stktest_test_finish(gboolean successful)
+static void __stktest_test_finish(gboolean successful)
{
struct test *test = cur_test->data;
dbus_bool_t powered = FALSE;
@@ -3379,7 +3379,7 @@ void __stktest_test_finish(gboolean successful)
power_down_reply, NULL, NULL);
}
-void __stktest_test_next()
+static void __stktest_test_next()
{
if (cur_test == NULL)
cur_test = tests;