From a0a0c69ef32df5734a96c4a2abb58c385c2058b5 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Fri, 17 May 2019 23:45:24 +0300 Subject: daemon: make some functions static. The functions in question should only be used within the compilation unit and should not be exported. Signed-off-by: Gediminas Jakutis --- src/daemon/settings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/daemon/settings.c') 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; } -- cgit v1.2.3