]> git.puffer.fish Git - matthieu/frr.git/commitdiff
cumulus: Fixup function only needed for linux
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 18 Jan 2017 15:14:26 +0000 (10:14 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 18 Jan 2017 15:14:26 +0000 (10:14 -0500)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
cumulus/start-stop-daemon.c

index 4d447d9051bbefc5c0063b412106b72633094bbc..a195e9e2fc5265affb3305a850d7d021090a8e26 100644 (file)
@@ -223,6 +223,7 @@ clear(struct pid_list **list)
        *list = NULL;
 }
 
+#ifdef linux
 static const char *
 next_dirname(const char *s)
 {
@@ -242,7 +243,6 @@ next_dirname(const char *s)
        return cur;
 }
 
-#ifdef linux
 static void
 add_namespace(const char *path)
 {