lib/path: ifdef path_set_prefix() like in path.h

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
This commit is contained in:
Ruediger Meier 2016-02-11 03:15:12 +01:00
parent 8b9cf26aff
commit 4a04d7f3d6
1 changed files with 2 additions and 2 deletions

View 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 */