staging:keucr: Remove typedefs
As suggested by Pablo, this patch uses a coccinelle script to remove the
typedefs:
typedef u8 BOOLEAN; <-- use "bool" instead.
typedef u8 BYTE; <-- use "u8"
typedef u8 *PBYTE; <-- use "u8 *"
typedef u16 WORD; <-- use "u16"
typedef u16 *PWORD; <-- use "u16 *"
typedef u32 DWORD; <-- use "u32"
typedef u32 *PDWORD; <-- use "u32 *"
in common.h.
The coccinelle script is:
/* coccinelle script to remove typedefs. */
@remove_typedef@
@@
-typedef bool BOOLEAN;
-typedef u8 BYTE;
-typedef u8 *PBYTE;
-typedef u16 WORD;
-typedef u16 *PWORD;
-typedef u32 DWORD;
-typedef u32 *PDWORD;
@fix_usage@
typedef BOOLEAN;
@@
-BOOLEAN
+bool
@fix_usage1@
typedef BYTE;
@@
-BYTE
+u8
@fix_usage2@
typedef PBYTE;
@@
-PBYTE
+u8 *
@fix_usage3@
typedef WORD;
@@
-WORD
+u16
@fix_usage4@
typedef PWORD;
@@
-PWORD
+u16 *
@fix_usage5@
typedef DWORD;
identifier f;
@@
-DWORD
+u32
@fix_usage6@
typedef PDWORD;
@@
-PDWORD
+u32 *
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
12 files changed: