From 7334572c4c268b16a40be2c21a02f4d3eb0b0288 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 e233dda7c8..3ec3bcb79b 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;