summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/daemon/settings.c6
-rw-r--r--src/daemon/settings_private.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/daemon/settings.c b/src/daemon/settings.c
index c537510..0fb1648 100644
--- a/src/daemon/settings.c
+++ b/src/daemon/settings.c
@@ -77,7 +77,7 @@ char *setting_im_proto(void)
}
/* could be a one-liner, but let's make the logic more obvious */
-int test_flag(unsigned int flag)
+static int test_flag(unsigned int flag)
{
int ret;
@@ -87,12 +87,12 @@ int test_flag(unsigned int flag)
return ret;
}
-void set_flag(unsigned int flag)
+static void set_flag(unsigned int flag)
{
settings.flags |= flag;
}
-void unset_flag(unsigned int flag)
+static void unset_flag(unsigned int flag)
{
settings.flags &= ~flag;
}
diff --git a/src/daemon/settings_private.h b/src/daemon/settings_private.h
index 3d713b3..33a1543 100644
--- a/src/daemon/settings_private.h
+++ b/src/daemon/settings_private.h
@@ -38,8 +38,8 @@ static struct settings {
char *im_proto;
} settings;
-int test_flag(unsigned int flag);
-void set_flag(unsigned int flag);
-void unset_flag(unsigned int flag);
+static int test_flag(unsigned int flag);
+static void set_flag(unsigned int flag);
+static void unset_flag(unsigned int flag);
#endif /* USURPATION_SETTINGS_PRIVATE_H */