提交 2b52d1e3 编写于 作者: E Elena Ufimtseva 提交者: Greg Kroah-Hartman

Staging: ced1401: Patch removes unused typedefs.

Patch removes unused typedefs BOOLEAN, *LPCSTR, *LPCSTR, UCHAR, *LPBYTE.
Signed-off-by: NElena Ufimtseva <ufimtseva@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 8c79caa8
...@@ -80,13 +80,8 @@ ...@@ -80,13 +80,8 @@
#define FAR #define FAR
typedef int BOOL; /* To match Windows */ typedef int BOOL; /* To match Windows */
typedef char *LPSTR;
typedef const char *LPCSTR;
typedef unsigned char BYTE; typedef unsigned char BYTE;
typedef BYTE BOOLEAN;
typedef unsigned char UCHAR;
#define __packed __attribute__((packed)) #define __packed __attribute__((packed))
typedef BYTE *LPBYTE;
#define HIWORD(x) (unsigned short)(((x)>>16) & 0xffff) #define HIWORD(x) (unsigned short)(((x)>>16) & 0xffff)
#define LOWORD(x) (unsigned short)((x) & 0xffff) #define LOWORD(x) (unsigned short)((x) & 0xffff)
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册