]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/path: ifdef path_set_prefix() like in path.h
authorRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 11 Feb 2016 02:15:12 +0000 (03:15 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 11 Feb 2016 12:40:25 +0000 (13:40 +0100)
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
lib/path.c

index 316af471b2e0501b10da4d6ebaa58ba829562264..1a623bc6d673f4b2e7a266a1c808e1df74fbeeae 100644 (file)
@@ -244,8 +244,6 @@ path_read_cpulist(int maxcpus, const char *path, ...)
        return set;
 }
 
-#endif /* HAVE_CPU_SET_T */
-
 void
 path_set_prefix(const char *prefix)
 {
@@ -253,3 +251,5 @@ path_set_prefix(const char *prefix)
        strncpy(pathbuf, prefix, sizeof(pathbuf));
        pathbuf[sizeof(pathbuf) - 1] = '\0';
 }
+
+#endif /* HAVE_CPU_SET_T */