summaryrefslogtreecommitdiff
path: root/lib/systemd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-12-16 07:42:47 -0500
committerGitHub <noreply@github.com>2019-12-16 07:42:47 -0500
commit04dd9e420ee6f5a7d5c47cd50333879f78abc094 (patch)
treeba47ee183676532a6bbee87ce173f02dd74d0881 /lib/systemd.c
parentf4d7bc0820f04df798eb208fcce5f5f7e4b18034 (diff)
parentba7eb55ec661e18156d9d390b196b6659d0a4752 (diff)
Merge pull request #5535 from opensourcerouting/santa-elf
*: cleanup elves were here
Diffstat (limited to 'lib/systemd.c')
-rw-r--r--lib/systemd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/systemd.c b/lib/systemd.c
index 44db48d006..81b0400ab9 100644
--- a/lib/systemd.c
+++ b/lib/systemd.c
@@ -32,7 +32,7 @@
* Wrapper this silliness if we
* don't have systemd
*/
-void systemd_send_information(const char *info)
+static void systemd_send_information(const char *info)
{
#if defined HAVE_SYSTEMD
sd_notify(0, info);
@@ -93,8 +93,8 @@ void systemd_send_stopping(void)
/*
* How many seconds should we wait between watchdog sends
*/
-int wsecs = 0;
-struct thread_master *systemd_master = NULL;
+static int wsecs = 0;
+static struct thread_master *systemd_master = NULL;
static int systemd_send_watchdog(struct thread *t)
{