lib: add common min and max macros

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood
2014-10-10 11:20:35 +01:00
parent d4e3b6a0f5
commit be4710a541
5 changed files with 8 additions and 12 deletions
+1 -3
View File
@@ -36,9 +36,7 @@
#include "intel_io.h"
#include "igt_debugfs.h"
#include "drmtest.h"
#define min(a,b) ((a) < (b) ? (a) : (b))
#define max(a,b) ((a) > (b) ? (a) : (b))
#include "igt_aux.h"
enum test {
TEST_INVALID,