diff options
author | 2019-05-17 23:45:24 +0300 | |
---|---|---|
committer | 2019-05-17 23:45:24 +0300 | |
commit | a0a0c69ef32df5734a96c4a2abb58c385c2058b5 (patch) | |
tree | 640f3ada559a4ef8daa9f29479a719af0ff7ea8e /src/daemon/settings.c | |
parent | 6b54ba23252f53ce143b1eb5c12bb2bc101d9a07 (diff) | |
download | usurpation-a0a0c69ef32df5734a96c4a2abb58c385c2058b5.tar.gz usurpation-a0a0c69ef32df5734a96c4a2abb58c385c2058b5.tar.bz2 usurpation-a0a0c69ef32df5734a96c4a2abb58c385c2058b5.zip |
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 <gediminas@varciai.lt>
Diffstat (limited to 'src/daemon/settings.c')
-rw-r--r-- | src/daemon/settings.c | 6 |
1 files changed, 3 insertions, 3 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; } |