diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-09-05 14:36:06 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-09-08 17:04:18 +0200 |
commit | 16ea5eec38c062429dd847a679fc1e6db007d7f8 (patch) | |
tree | 69e869b652ea5cac8226eb26391ff536d8b4b684 /tests | |
parent | 00215dd5b78cfe05838b8e39e092480f80ed6deb (diff) |
build: remove _GNU_SOURCE from source files
We are, the build system takes care of that.
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Acked-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core_get_client_auth.c | 1 | ||||
-rw-r--r-- | tests/core_setmaster_vs_auth.c | 1 | ||||
-rw-r--r-- | tests/drm_import_export.c | 1 | ||||
-rw-r--r-- | tests/drv_missed_irq.c | 1 | ||||
-rw-r--r-- | tests/gem_fenced_exec_thrash.c | 2 | ||||
-rw-r--r-- | tests/gem_flink_race.c | 1 | ||||
-rw-r--r-- | tests/gem_mmap_gtt.c | 1 | ||||
-rw-r--r-- | tests/gem_mmap_wc.c | 1 | ||||
-rw-r--r-- | tests/gem_persistent_relocs.c | 1 | ||||
-rw-r--r-- | tests/gem_reloc_vs_gpu.c | 1 | ||||
-rw-r--r-- | tests/gem_reset_stats.c | 1 | ||||
-rw-r--r-- | tests/gem_streaming_writes.c | 1 | ||||
-rw-r--r-- | tests/gem_workarounds.c | 1 | ||||
-rw-r--r-- | tests/kms_cursor_legacy.c | 1 | ||||
-rw-r--r-- | tests/pm_rc6_residency.c | 1 | ||||
-rw-r--r-- | tests/pm_rps.c | 1 | ||||
-rw-r--r-- | tests/prime_mmap.c | 1 | ||||
-rw-r--r-- | tests/prime_self_import.c | 1 |
18 files changed, 0 insertions, 19 deletions
diff --git a/tests/core_get_client_auth.c b/tests/core_get_client_auth.c index 50e87fac..676083d5 100644 --- a/tests/core_get_client_auth.c +++ b/tests/core_get_client_auth.c @@ -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> diff --git a/tests/core_setmaster_vs_auth.c b/tests/core_setmaster_vs_auth.c index 78303339..f1ae0c63 100644 --- a/tests/core_setmaster_vs_auth.c +++ b/tests/core_setmaster_vs_auth.c @@ -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> diff --git a/tests/drm_import_export.c b/tests/drm_import_export.c index f1234bdc..e3ce2480 100644 --- a/tests/drm_import_export.c +++ b/tests/drm_import_export.c @@ -24,7 +24,6 @@ * Daniel Vetter <daniel.vetter@ffwll.ch> */ -#define _GNU_SOURCE #include "igt.h" #include <stdio.h> #include <sys/types.h> diff --git a/tests/drv_missed_irq.c b/tests/drv_missed_irq.c index fb81f277..469be882 100644 --- a/tests/drv_missed_irq.c +++ b/tests/drv_missed_irq.c @@ -22,7 +22,6 @@ * */ -#define _GNU_SOURCE #include <sched.h> #include "igt.h" diff --git a/tests/gem_fenced_exec_thrash.c b/tests/gem_fenced_exec_thrash.c index e403a491..9a43c845 100644 --- a/tests/gem_fenced_exec_thrash.c +++ b/tests/gem_fenced_exec_thrash.c @@ -25,8 +25,6 @@ * */ -#define _GNU_SOURCE - #include "igt.h" #include <stdlib.h> #include <sys/ioctl.h> diff --git a/tests/gem_flink_race.c b/tests/gem_flink_race.c index 30e33f65..9e3d3a62 100644 --- a/tests/gem_flink_race.c +++ b/tests/gem_flink_race.c @@ -24,7 +24,6 @@ * Daniel Vetter <daniel.vetter@ffwll.ch> */ -#define _GNU_SOURCE #include "igt.h" #include <sys/ioctl.h> #include <stdlib.h> diff --git a/tests/gem_mmap_gtt.c b/tests/gem_mmap_gtt.c index 4ff5e7f1..0f598125 100644 --- a/tests/gem_mmap_gtt.c +++ b/tests/gem_mmap_gtt.c @@ -25,7 +25,6 @@ * */ -#define _GNU_SOURCE #include <unistd.h> #include <stdlib.h> #include <stdio.h> diff --git a/tests/gem_mmap_wc.c b/tests/gem_mmap_wc.c index fd798807..110883eb 100644 --- a/tests/gem_mmap_wc.c +++ b/tests/gem_mmap_wc.c @@ -25,7 +25,6 @@ * */ -#define _GNU_SOURCE #include "igt.h" #include <unistd.h> #include <stdlib.h> diff --git a/tests/gem_persistent_relocs.c b/tests/gem_persistent_relocs.c index bc831ee4..452fe686 100644 --- a/tests/gem_persistent_relocs.c +++ b/tests/gem_persistent_relocs.c @@ -25,7 +25,6 @@ * */ -#define _GNU_SOURCE #include "igt.h" #include <stdlib.h> #include <stdio.h> diff --git a/tests/gem_reloc_vs_gpu.c b/tests/gem_reloc_vs_gpu.c index afc31328..d421e434 100644 --- a/tests/gem_reloc_vs_gpu.c +++ b/tests/gem_reloc_vs_gpu.c @@ -25,7 +25,6 @@ * */ -#define _GNU_SOURCE #include "igt.h" #include <stdlib.h> #include <stdio.h> diff --git a/tests/gem_reset_stats.c b/tests/gem_reset_stats.c index 9ac08aab..edc40767 100644 --- a/tests/gem_reset_stats.c +++ b/tests/gem_reset_stats.c @@ -25,7 +25,6 @@ * */ -#define _GNU_SOURCE #include "igt.h" #include "igt_sysfs.h" #include <limits.h> diff --git a/tests/gem_streaming_writes.c b/tests/gem_streaming_writes.c index c27e7fa7..e83d69de 100644 --- a/tests/gem_streaming_writes.c +++ b/tests/gem_streaming_writes.c @@ -25,7 +25,6 @@ * */ -#define _GNU_SOURCE #include "igt.h" #include <unistd.h> #include <stdlib.h> diff --git a/tests/gem_workarounds.c b/tests/gem_workarounds.c index c7286d86..d6641bd5 100644 --- a/tests/gem_workarounds.c +++ b/tests/gem_workarounds.c @@ -25,7 +25,6 @@ * */ -#define _GNU_SOURCE #include "igt.h" #include <fcntl.h> diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c index bdb66f3b..2d32d3a9 100644 --- a/tests/kms_cursor_legacy.c +++ b/tests/kms_cursor_legacy.c @@ -22,7 +22,6 @@ * */ -#define _GNU_SOURCE #include <sched.h> #include <sys/poll.h> diff --git a/tests/pm_rc6_residency.c b/tests/pm_rc6_residency.c index bdb9747a..7c87302d 100644 --- a/tests/pm_rc6_residency.c +++ b/tests/pm_rc6_residency.c @@ -25,7 +25,6 @@ * */ -#define _GNU_SOURCE #include "igt.h" #include "igt_sysfs.h" #include <stdio.h> diff --git a/tests/pm_rps.c b/tests/pm_rps.c index 5eb969a5..68c6bfe7 100644 --- a/tests/pm_rps.c +++ b/tests/pm_rps.c @@ -26,7 +26,6 @@ * */ -#define _GNU_SOURCE #include "igt.h" #include <stdio.h> #include <stdlib.h> diff --git a/tests/prime_mmap.c b/tests/prime_mmap.c index 1ea61c2f..0da0aa68 100644 --- a/tests/prime_mmap.c +++ b/tests/prime_mmap.c @@ -29,7 +29,6 @@ /* * Testcase: Check whether mmap()ing dma-buf works */ -#define _GNU_SOURCE #include <unistd.h> #include <stdlib.h> #include <stdio.h> diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c index 992334d4..8c4f5321 100644 --- a/tests/prime_self_import.c +++ b/tests/prime_self_import.c @@ -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> |