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
-2
View File
@@ -981,8 +981,6 @@ static int can_swap(void)
return 1;
}
#define min(a, b) ((a) < (b) ? (a) : (b))
static void test_forking_evictions(int fd, int size, int count,
unsigned flags)
{