kernel has it's own NULL define, we dont need to introduce our own
custom NULL type!
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef NULL
-#define NULL 0
-#endif
-
#include <linux/string.h>
#define DL_STRCMP strcmp
#ifndef _GLOBALTYPES_H
#define _GLOBALTYPES_H
-/*
- * Definition: NULL
- *
- * DESCRIPTION: Invalid pointer
- */
-#ifndef NULL
-#define NULL (void *)0
-#endif
-
/*
* Definition: RET_CODE_BASE
*
#define CONST const
#endif
-/*===========================================================================*/
-/* NULL (Definition is language specific) */
-/*===========================================================================*/
-
-#ifndef NULL
-#define NULL ((void *)0) /* Null pointer. */
-#endif
-
/*===========================================================================*/
/* NULL character (normally used for string termination) */
/*===========================================================================*/
typedef s32(*fxn) (void); /* generic function type */
-#ifndef NULL
-#define NULL 0
-#endif
-
/*
* These macros are used to cast 'Arg' types to 's32' or 'Ptr'.
* These macros were added for the 55x since Arg is not the same