summaryrefslogtreecommitdiffstats
path: root/libc/include
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-01-08 02:41:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-01-08 02:41:04 +0000
commit4c8caf0ad39768e614fb4c1f5ef415aab223adb2 (patch)
tree2098c40f20f777879316136d5dbcfaed1a47113b /libc/include
parent4faf76ca114a11cd264b0f5907e517add4585b27 (diff)
parentbbb34f9536db8234b0b43bd5333256fa4accc50e (diff)
downloadbionic-4c8caf0ad39768e614fb4c1f5ef415aab223adb2.zip
bionic-4c8caf0ad39768e614fb4c1f5ef415aab223adb2.tar.gz
bionic-4c8caf0ad39768e614fb4c1f5ef415aab223adb2.tar.bz2
Merge "<sched.h> should offer both __sched_priority and sched_priority."
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/sched.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/include/sched.h b/libc/include/sched.h
index fba6514..7649e83 100644
--- a/libc/include/sched.h
+++ b/libc/include/sched.h
@@ -39,8 +39,9 @@ __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);