summaryrefslogtreecommitdiff
path: root/src/basic/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-30 21:50:22 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-30 22:26:16 +0200
commit618234a5258768359cb1086b152c5f08aaf89754 (patch)
tree2fb6f9820ff043bc5a6a615d343bcfebf6a6cfad /src/basic/util.h
parent94d75d6423f16f1fb66d214cb640ae3a114c5c58 (diff)
basic: split out cpu set specific APIs into cpu-set-util.[ch]
Diffstat (limited to 'src/basic/util.h')
-rw-r--r--src/basic/util.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index ff6c39aaa3..a4e3672130 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -28,7 +28,6 @@
#include <limits.h>
#include <locale.h>
#include <mntent.h>
-#include <sched.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
@@ -371,12 +370,6 @@ int fd_is_temporary_fs(int fd);
int pipe_eof(int fd);
-DEFINE_TRIVIAL_CLEANUP_FUNC(cpu_set_t*, CPU_FREE);
-#define _cleanup_cpu_free_ _cleanup_(CPU_FREEp)
-
-cpu_set_t* cpu_set_malloc(unsigned *ncpus);
-int parse_cpu_set_and_warn(const char *rvalue, cpu_set_t **cpu_set, const char *unit, const char *filename, unsigned line, const char *lvalue);
-
#define xsprintf(buf, fmt, ...) \
assert_message_se((size_t) snprintf(buf, ELEMENTSOF(buf), fmt, __VA_ARGS__) < ELEMENTSOF(buf), \
"xsprintf: " #buf "[] must be big enough")