mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Lisa Nguyen](/assets/img/avatar_default.png)
Replace user-defined type FALSE with C defined false keyword. Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
47 lines
929 B
C
47 lines
929 B
C
/****************************
|
|
* Typedefs.h
|
|
****************************/
|
|
#ifndef __TYPEDEFS_H__
|
|
#define __TYPEDEFS_H__
|
|
#define STATUS_SUCCESS 0
|
|
#define STATUS_FAILURE -1
|
|
|
|
|
|
#define TRUE 1
|
|
|
|
|
|
typedef char CHAR;
|
|
typedef int INT;
|
|
typedef short SHORT;
|
|
typedef long LONG;
|
|
typedef void VOID;
|
|
|
|
typedef unsigned char UCHAR;
|
|
typedef unsigned char B_UINT8;
|
|
typedef unsigned short USHORT;
|
|
typedef unsigned short B_UINT16;
|
|
typedef unsigned int UINT;
|
|
typedef unsigned int B_UINT32;
|
|
typedef unsigned long ULONG;
|
|
typedef unsigned long DWORD;
|
|
|
|
typedef char* PCHAR;
|
|
typedef short* PSHORT;
|
|
typedef int* PINT;
|
|
typedef long* PLONG;
|
|
typedef void* PVOID;
|
|
|
|
typedef unsigned char* PUCHAR;
|
|
typedef unsigned short* PUSHORT;
|
|
typedef unsigned int* PUINT;
|
|
typedef unsigned long* PULONG;
|
|
typedef unsigned long long ULONG64;
|
|
typedef unsigned long long LARGE_INTEGER;
|
|
typedef unsigned int UINT32;
|
|
#ifndef NULL
|
|
#define NULL 0
|
|
#endif
|
|
|
|
|
|
#endif //__TYPEDEFS_H__
|
|
|