OSDN Git Service

Remove the __USE_GNU guard from pthread_setname_np again.
authorElliott Hughes <enh@google.com>
Thu, 24 Mar 2016 03:26:35 +0000 (20:26 -0700)
committerElliott Hughes <enh@google.com>
Thu, 24 Mar 2016 03:26:35 +0000 (20:26 -0700)
commitcc78b252d113229f44550b1158f0fc67439d0184
tree4dae830d5cdbb3176c8820c3cd0fa22634d39b03
parent63322aa555d06bc961bfe419ba69471cdab2927b
Remove the __USE_GNU guard from pthread_setname_np again.

Caused build breakage, but not spotted by TreeHugger:

  external/libnfc-nxp/Linux_x86/phDal4Nfc.c:737:5: error: implicit declaration of function 'pthread_setname_np' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    pthread_setname_np(pthread_self(), "reader");
    ^

Nice file name.

Change-Id: I102e55718babf4e4f2f2c64066c6a83ed3ac86d3
libc/include/pthread.h