diff options
author | Ruediger Meier | 2016-02-11 03:15:12 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-11 13:40:25 +0100 |
commit | 4a04d7f3d618299739557a252046e65b87215753 (patch) | |
tree | 4d9669577425ed7a99cdf064db262d24fd3fe3f1 /lib/path.c | |
parent | lib: fix unused parameters and variables (diff) | |
download | kernel-qcow2-util-linux-4a04d7f3d618299739557a252046e65b87215753.tar.gz kernel-qcow2-util-linux-4a04d7f3d618299739557a252046e65b87215753.tar.xz kernel-qcow2-util-linux-4a04d7f3d618299739557a252046e65b87215753.zip |
lib/path: ifdef path_set_prefix() like in path.h
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'lib/path.c')
-rw-r--r-- | lib/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/path.c b/lib/path.c index 316af471b..1a623bc6d 100644 --- a/lib/path.c +++ b/lib/path.c @@ -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 */ |