summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-05 23:27:35 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-05 23:27:35 +0000
commit645002f7e8a45e039ab1366304b5013877b84797 (patch)
treeeb76b2b7d1237b079beeb0d27524eed0e0767420
parent04948fc8d7b325fefa040c9d4a18a2dd86053ab3 (diff)
this code does not actually rely on INTERNAL_SYSCALL
-rw-r--r--libc/sysdeps/linux/common/sched_getaffinity.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/sched_getaffinity.c b/libc/sysdeps/linux/common/sched_getaffinity.c
index da1acc855..6c12ba116 100644
--- a/libc/sysdeps/linux/common/sched_getaffinity.c
+++ b/libc/sysdeps/linux/common/sched_getaffinity.c
@@ -23,8 +23,6 @@
#include <sys/types.h>
#include <sys/syscall.h>
-#ifdef INTERNAL_SYSCALL /* remove this when all archs has this #defined */
-
#include <string.h>
#include <sys/param.h>
#include <sys/types.h>
@@ -48,5 +46,5 @@ int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset)
}
return res;
}
-#endif
+
#endif