diff options
author | Sami Kerola | 2011-07-17 19:59:16 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-21 17:29:38 +0200 |
commit | 6f45c0e9ff04db97550eada4a3e115613c7cf150 (patch) | |
tree | 0f631e5b3a537a3485f33355992b0cd95de34ebd /schedutils/taskset.c | |
parent | docs: mention long options in ionice.1 (diff) | |
download | kernel-qcow2-util-linux-6f45c0e9ff04db97550eada4a3e115613c7cf150.tar.gz kernel-qcow2-util-linux-6f45c0e9ff04db97550eada4a3e115613c7cf150.tar.xz kernel-qcow2-util-linux-6f45c0e9ff04db97550eada4a3e115613c7cf150.zip |
taskset: include-what-you-use header check
taskset.c should add these lines:
#include <sched.h> for sched_getaffinity, etc
#include <stddef.h> for size_t
#include <string.h> for memset
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'schedutils/taskset.c')
-rw-r--r-- | schedutils/taskset.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/schedutils/taskset.c b/schedutils/taskset.c index 6f0fbc9e9..a45151e34 100644 --- a/schedutils/taskset.c +++ b/schedutils/taskset.c @@ -24,6 +24,9 @@ #include <unistd.h> #include <getopt.h> #include <errno.h> +#include <sched.h> +#include <stddef.h> +#include <string.h> #include "cpuset.h" #include "nls.h" |