Various import fixes caused by clang-format
Added format protection block to avoid re-ordering of header files according to formatting rules.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#include <hidsdi.h>
|
||||
#include <setupapi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <setupapi.h>
|
||||
#include <hidsdi.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
#ifndef GENINPUT_DEV_LIST_H
|
||||
#define GENINPUT_DEV_LIST_H
|
||||
|
||||
#include <setupapi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <setupapi.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <wchar.h>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#include <hidsdi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <hidsdi.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -6,8 +6,11 @@
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
|
||||
#include <hidsdi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <hidsdi.h>
|
||||
// clang-format on
|
||||
|
||||
#include "geninput/hid-generic-strings.h"
|
||||
#include "geninput/hid-generic.h"
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#define LOG_MODULE "hid-generic"
|
||||
|
||||
#include <hidsdi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <hidsdi.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#define LOG_MODULE "hid-generic"
|
||||
|
||||
#include <hidsdi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <hidsdi.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#define LOG_MODULE "hid-generic"
|
||||
|
||||
#include <hidsdi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <hidsdi.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#define LOG_MODULE "hid-generic"
|
||||
|
||||
#include <hidsdi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <hidsdi.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#include <dbt.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <dbt.h>
|
||||
// clang-format on
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
#define LOG_MODULE "kbd"
|
||||
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <hidsdi.h>
|
||||
#include <initguid.h>
|
||||
#include <windows.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#define LOG_MODULE "mouse"
|
||||
|
||||
#include <initguid.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <initguid.h>
|
||||
// clang-format on
|
||||
|
||||
#include <malloc.h>
|
||||
#include <stddef.h>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#include <dbt.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <dbt.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#define LOG_MODULE "pacdrive"
|
||||
|
||||
#include <hidsdi.h>
|
||||
// clang-format off
|
||||
// Don't format because the order is important here
|
||||
#include <windows.h>
|
||||
#include <hidsdi.h>
|
||||
// clang-format on
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
Reference in New Issue
Block a user