cumulus: Fixup function only needed for linux

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-01-18 10:14:26 -05:00
parent 45680e7568
commit 7936827a85

View File

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