config: rename macro 'WEPOLL_INTERNAL_VAR' to 'WEPOLL_INTERNAL_EXTERN'

The old name was not really appropriate; this attribute should only be
used on variable declarations, while the definition of the same variable
needs to be tagged with 'WEPOLL_INTERNAL'.
This commit is contained in:
Bert Belder 2020-05-26 18:39:55 +02:00
parent f8a135487d
commit 2ce1a56c40
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461
3 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
#define WEPOLL_INTERNAL static #define WEPOLL_INTERNAL static
#define WEPOLL_INTERNAL_VAR static #define WEPOLL_INTERNAL_EXTERN static

View File

@ -1,2 +1,2 @@
#define WEPOLL_INTERNAL #define WEPOLL_INTERNAL
#define WEPOLL_INTERNAL_VAR extern #define WEPOLL_INTERNAL_EXTERN extern

View File

@ -132,7 +132,7 @@ typedef struct _OBJECT_ATTRIBUTES {
X(ULONG, WINAPI, RtlNtStatusToDosError, (NTSTATUS Status)) X(ULONG, WINAPI, RtlNtStatusToDosError, (NTSTATUS Status))
#define X(return_type, attributes, name, parameters) \ #define X(return_type, attributes, name, parameters) \
WEPOLL_INTERNAL_VAR return_type(attributes* name) parameters; WEPOLL_INTERNAL_EXTERN return_type(attributes* name) parameters;
NT_NTDLL_IMPORT_LIST(X) NT_NTDLL_IMPORT_LIST(X)
#undef X #undef X