commit | 4c8caf0ad39768e614fb4c1f5ef415aab223adb2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jan 08 02:41:04 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jan 08 02:41:04 2014 +0000 |
tree | 2098c40f20f777879316136d5dbcfaed1a47113b | |
parent | 4faf76ca114a11cd264b0f5907e517add4585b27 [diff] | |
parent | bbb34f9536db8234b0b43bd5333256fa4accc50e [diff] |
Merge "<sched.h> should offer both __sched_priority and sched_priority."
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 @@ #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);