From ac6b17e9183b87b8c9773ed1a6717970e7b54419 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 25 Dec 2015 12:23:39 +0100 Subject: [PATCH] Remove unneeded definition for NULL NULL is already defined in stddef.h, so a local definition is not be needed. Signed-off-by: Stefan Weil --- ccutil/host.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ccutil/host.h b/ccutil/host.h index e233dda7..3ec3bcb7 100644 --- a/ccutil/host.h +++ b/ccutil/host.h @@ -140,10 +140,6 @@ typedef unsigned char BOOL8; #define FALSE 0 #endif -#ifndef NULL -#define NULL 0L -#endif - // Return true if x is within tolerance of y template bool NearlyEqual(T x, T y, T tolerance) { T diff = x - y;