Commit 16ea5eec authored by Daniel Vetter's avatar Daniel Vetter

build: remove _GNU_SOURCE from source files

We are, the build system takes care of that.
Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
Acked-by: Jani Nikula's avatarJani Nikula <jani.nikula@intel.com>
Acked-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
Acked-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
Acked-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
Acked-by: Radosław's avatarRadoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 00215dd5
......@@ -21,8 +21,6 @@
* IN THE SOFTWARE.
*/
#define _GNU_SOURCE /* for RTLD_NEXT */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include <pthread.h>
#include "igt.h"
......
......@@ -22,8 +22,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
......
......@@ -25,7 +25,6 @@
* Damien Lespiau <damien.lespiau@intel.com>
*/
#define _GNU_SOURCE
#include <stdio.h>
#include <math.h>
......
......@@ -21,8 +21,6 @@
* IN THE SOFTWARE.
*/
#define _GNU_SOURCE
#include "igt.h"
#include "igt_vgem.h"
......
......@@ -21,7 +21,6 @@
* IN THE SOFTWARE.
*/
#define _GNU_SOURCE
#include <assert.h>
#include <unistd.h>
#include <fcntl.h>
......
......@@ -32,7 +32,6 @@
* Oh dear, libva, why do you do such funny things?
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
......
......@@ -33,7 +33,6 @@
* trying to authenticate a client against the wrong master.
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
......
......@@ -24,7 +24,6 @@
* Daniel Vetter <daniel.vetter@ffwll.ch>
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdio.h>
#include <sys/types.h>
......
......@@ -22,7 +22,6 @@
*
*/
#define _GNU_SOURCE
#include <sched.h>
#include "igt.h"
......
......@@ -25,8 +25,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdlib.h>
#include <sys/ioctl.h>
......
......@@ -24,7 +24,6 @@
* Daniel Vetter <daniel.vetter@ffwll.ch>
*/
#define _GNU_SOURCE
#include "igt.h"
#include <sys/ioctl.h>
#include <stdlib.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include "igt_sysfs.h"
#include <limits.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include <fcntl.h>
......
......@@ -22,7 +22,6 @@
*
*/
#define _GNU_SOURCE
#include <sched.h>
#include <sys/poll.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include "igt_sysfs.h"
#include <stdio.h>
......
......@@ -26,7 +26,6 @@
*
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdio.h>
#include <stdlib.h>
......
......@@ -29,7 +29,6 @@
/*
* Testcase: Check whether mmap()ing dma-buf works
*/
#define _GNU_SOURCE
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
......
......@@ -31,7 +31,6 @@
* ... but with different fds, i.e. the wayland usecase.
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
......
......@@ -21,8 +21,6 @@
* IN THE SOFTWARE.
*/
#define _GNU_SOURCE /* for RTLD_NEXT */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
......
......@@ -26,7 +26,6 @@
*
*/
#define _GNU_SOURCE
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -38,7 +38,6 @@
* decode, but never crash in the process.
*/
#define _GNU_SOURCE
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -26,7 +26,6 @@
* Read back all the KMS framebuffers attached to the CRTC and record as PNG.
*/
#define _GNU_SOURCE
#include <stdint.h>
#include <sys/types.h>
#include <sys/mman.h>
......
......@@ -46,7 +46,6 @@
* intel_gpu_frequency -d
*/
#define _GNU_SOURCE
#include <assert.h>
#include <getopt.h>
#include <stdio.h>
......
#define _GNU_SOURCE /* For using O_DIRECT */
#include <inttypes.h>
#include <stdio.h>
#include <fcntl.h>
......
......@@ -25,7 +25,6 @@
*
*/
#define _GNU_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
......
......@@ -25,9 +25,6 @@
#ifdef HAVE_UDEV
#include <libudev.h>
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment