From 16ea5eec38c062429dd847a679fc1e6db007d7f8 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 5 Sep 2017 14:36:06 +0200 Subject: build: remove _GNU_SOURCE from source files We are, the build system takes care of that. Reviewed-by: Eric Anholt Acked-by: Jani Nikula Acked-by: Arkadiusz Hiler Acked-by: Petri Latvala Acked-by: Daniel Stone Acked-by: Radoslaw Szwichtenberg Signed-off-by: Daniel Vetter --- tests/core_get_client_auth.c | 1 - tests/core_setmaster_vs_auth.c | 1 - tests/drm_import_export.c | 1 - tests/drv_missed_irq.c | 1 - tests/gem_fenced_exec_thrash.c | 2 -- tests/gem_flink_race.c | 1 - tests/gem_mmap_gtt.c | 1 - tests/gem_mmap_wc.c | 1 - tests/gem_persistent_relocs.c | 1 - tests/gem_reloc_vs_gpu.c | 1 - tests/gem_reset_stats.c | 1 - tests/gem_streaming_writes.c | 1 - tests/gem_workarounds.c | 1 - tests/kms_cursor_legacy.c | 1 - tests/pm_rc6_residency.c | 1 - tests/pm_rps.c | 1 - tests/prime_mmap.c | 1 - tests/prime_self_import.c | 1 - 18 files changed, 19 deletions(-) (limited to 'tests') 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 #include 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 #include 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 */ -#define _GNU_SOURCE #include "igt.h" #include #include 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 #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 #include 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 */ -#define _GNU_SOURCE #include "igt.h" #include #include 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 #include #include 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 #include 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 #include 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 #include 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 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 #include 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 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 #include 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 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 #include 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 #include #include 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 #include -- cgit v1.2.3