diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-30 21:50:22 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-30 22:26:16 +0200 |
commit | 618234a5258768359cb1086b152c5f08aaf89754 (patch) | |
tree | 2fb6f9820ff043bc5a6a615d343bcfebf6a6cfad /src/basic/util.h | |
parent | 94d75d6423f16f1fb66d214cb640ae3a114c5c58 (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.h | 7 |
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") |