typos, reduce mingw header diffs, extra includes.
[reactos.git] / reactos / include / ddk / ntddkbd.h
index 527392c..fa903f3 100644 (file)
@@ -1,5 +1,38 @@
-#ifndef _NTDDKBD_
-#define _NTDDKBD_
+/*
+ * ntddkbd.h
+ *
+ * Keyboard IOCTL interface
+ *
+ * This file is part of the MinGW package.
+ *
+ * Contributors:
+ *   Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
+
+#ifndef __NTDDKBD_H
+#define __NTDDKBD_H
+
+#if __GNUC__ >=3
+#pragma GCC system_header
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#pragma pack(push,4)
+
 
 typedef struct _KEYBOARD_INPUT_DATA {
 
@@ -16,4 +49,11 @@ typedef struct _KEYBOARD_INPUT_DATA {
 
 } KEYBOARD_INPUT_DATA, *PKEYBOARD_INPUT_DATA;
 
-#endif                                                 // _NTDDKBD_
+
+#pragma pack(pop)
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __NTDDKBD_H */