diff options
author | Elliott Hughes <enh@google.com> | 2014-01-08 02:41:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-01-08 02:41:04 +0000 |
commit | 4c8caf0ad39768e614fb4c1f5ef415aab223adb2 (patch) | |
tree | 2098c40f20f777879316136d5dbcfaed1a47113b /libc/include | |
parent | 4faf76ca114a11cd264b0f5907e517add4585b27 (diff) | |
parent | bbb34f9536db8234b0b43bd5333256fa4accc50e (diff) | |
download | bionic-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.h | 3 |
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); |