aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sched.h
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-11-21 10:22:09 -0800
committerDan Albert <danalbert@google.com>2014-11-21 10:24:40 -0800
commitf6640348876cd1d4d43cc95cf63306fedb83d8b9 (patch)
treed25a963a34ba747ac3400f9522c36266463a31fa /libc/include/sched.h
parent770198d3f707d5eccd6796f311015903aec31b26 (diff)
downloadandroid_bionic-f6640348876cd1d4d43cc95cf63306fedb83d8b9.tar.gz
android_bionic-f6640348876cd1d4d43cc95cf63306fedb83d8b9.tar.bz2
android_bionic-f6640348876cd1d4d43cc95cf63306fedb83d8b9.zip
Revert "<sched.h> should offer both __sched_priority and sched_priority."
This was only ever added to keep strace compiling, but strace has since (actually, prior) fixed their source to use the less ugly name, so we don't need this anymore (good riddance, #define!). This reverts commit bbb34f9536db8234b0b43bd5333256fa4accc50e.
Diffstat (limited to 'libc/include/sched.h')
-rw-r--r--libc/include/sched.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/include/sched.h b/libc/include/sched.h
index 6155ab7ca..4f9e2a6c2 100644
--- a/libc/include/sched.h
+++ b/libc/include/sched.h
@@ -39,9 +39,8 @@ __BEGIN_DECLS
#define SCHED_OTHER SCHED_NORMAL
struct sched_param {
- int __sched_priority;
+ int sched_priority;
};
-#define sched_priority __sched_priority
extern int sched_setscheduler(pid_t, int, const struct sched_param*);
extern int sched_getscheduler(pid_t);