From 2eca38eab9ccb4bc41ceda4992614ffb311ce4f7 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sat, 7 Feb 2015 12:37:48 +0100 Subject: lib/igt_aux: s/swap/igt_swap/ It collides with the subtest naming convention glossary entry for swap. Which makes the docbook xml stuff unhappy. Signed-off-by: Daniel Vetter --- lib/igt_aux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/igt_aux.h') diff --git a/lib/igt_aux.h b/lib/igt_aux.h index 798a5b45..edc36a22 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -94,7 +94,7 @@ void intel_require_memory(uint32_t count, uint32_t size, unsigned mode); #define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b)) -#define swap(a, b) do { \ +#define igt_swap(a, b) do { \ typeof(a) _tmp = (a); \ (a) = (b); \ (b) = _tmp; \ -- cgit v1.2.3