From f704614aa2191e324afe8936579879ec26300dad Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 11 Jun 2018 14:39:07 +0200 Subject: [PATCH] nt: consistent nameing for NT_NTDLL_IMPORT_LIST --- src/nt.c | 4 ++-- src/nt.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/nt.c b/src/nt.c index 5e14ac1..2b5fd44 100644 --- a/src/nt.c +++ b/src/nt.c @@ -5,7 +5,7 @@ #define X(return_type, attributes, name, parameters) \ WEPOLL_INTERNAL return_type(attributes* name) parameters = NULL; -NTDLL_IMPORT_LIST(X) +NT_NTDLL_IMPORT_LIST(X) #undef X int nt_global_init(void) { @@ -19,7 +19,7 @@ int nt_global_init(void) { name = (return_type(attributes*) parameters) GetProcAddress(ntdll, #name); \ if (name == NULL) \ return -1; - NTDLL_IMPORT_LIST(X) + NT_NTDLL_IMPORT_LIST(X) #undef X return 0; diff --git a/src/nt.h b/src/nt.h index 2867186..ffdbcb8 100644 --- a/src/nt.h +++ b/src/nt.h @@ -52,7 +52,7 @@ typedef struct _OBJECT_ATTRIBUTES { PVOID SecurityQualityOfService; } OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES; -#define NTDLL_IMPORT_LIST(X) \ +#define NT_NTDLL_IMPORT_LIST(X) \ X(NTSTATUS, \ NTAPI, \ NtDeviceIoControlFile, \ @@ -89,7 +89,7 @@ typedef struct _OBJECT_ATTRIBUTES { #define X(return_type, attributes, name, parameters) \ WEPOLL_INTERNAL_VAR return_type(attributes* name) parameters; -NTDLL_IMPORT_LIST(X) +NT_NTDLL_IMPORT_LIST(X) #undef X #endif /* WEPOLL_NT_H_ */