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:
icex2
2019-10-22 21:04:45 +02:00
parent c3bc8782f4
commit b6e588116d
53 changed files with 211 additions and 64 deletions
+7
View File
@@ -1,5 +1,12 @@
#include <windows.h> /* Usermode API */
// clang-format off
// Don't format because the order is important here
#include <ntdef.h>
#include <devioctl.h>
#include <ntddser.h>
// clang-format on
#include <devioctl.h>
#include <ntddser.h>
#include <ntdef.h> /* Kernel-mode API for ioctls */
+4 -1
View File
@@ -1,8 +1,11 @@
#ifndef HOOKLIB_SETUPAPI_H
#define HOOKLIB_SETUPAPI_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
struct hook_setupapi_data {
GUID device_guid;