Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: ced1401: Patch removes unused typedefs.

Patch removes unused typedefs BOOLEAN, *LPCSTR, *LPCSTR, UCHAR, *LPBYTE.

Signed-off-by: Elena Ufimtseva <ufimtseva@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Elena Ufimtseva and committed by
Greg Kroah-Hartman
2b52d1e3 8c79caa8

-5
-5
drivers/staging/ced1401/machine.h
··· 80 80 #define FAR 81 81 82 82 typedef int BOOL; /* To match Windows */ 83 - typedef char *LPSTR; 84 - typedef const char *LPCSTR; 85 83 typedef unsigned char BYTE; 86 - typedef BYTE BOOLEAN; 87 - typedef unsigned char UCHAR; 88 84 #define __packed __attribute__((packed)) 89 - typedef BYTE *LPBYTE; 90 85 #define HIWORD(x) (unsigned short)(((x)>>16) & 0xffff) 91 86 #define LOWORD(x) (unsigned short)((x) & 0xffff) 92 87 #endif