Merge "Remove the __USE_GNU guard from pthread_setname_np again."

This commit is contained in:
Elliott Hughes 2016-03-24 03:28:30 +00:00 committed by Gerrit Code Review
commit e725dc1640

View file

@ -247,8 +247,9 @@ pthread_t pthread_self(void) __pure2;
#if defined(__USE_GNU)
int pthread_getname_np(pthread_t, char*, size_t) __nonnull((2));
int pthread_setname_np(pthread_t, const char*) __nonnull((2));
#endif
/* TODO: this should be __USE_GNU too. */
int pthread_setname_np(pthread_t, const char*) __nonnull((2));
int pthread_setschedparam(pthread_t, int, const struct sched_param*) __nonnull((3));