mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
selftests: fix warning: "_GNU_SOURCE" redefined
Makefile contains -D_GNU_SOURCE. remove define "_GNU_SOURCE" in c files. Signed-off-by: Peng Hao <[email protected]> Signed-off-by: Shuah Khan (Samsung OSG) <[email protected]>
This commit is contained in:
parent
fb363e2d20
commit
0387662d1b
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
// Test /proc/*/fd lookup.
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#undef NDEBUG
|
||||
#include <assert.h>
|
||||
#include <dirent.h>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
// Test that /proc/$KERNEL_THREAD/fd/ is empty.
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#undef NDEBUG
|
||||
#include <sys/syscall.h>
|
||||
#include <assert.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue