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:
parent
f8a135487d
commit
2ce1a56c40
@ -1,2 +1,2 @@
|
||||
#define WEPOLL_INTERNAL static
|
||||
#define WEPOLL_INTERNAL_VAR static
|
||||
#define WEPOLL_INTERNAL_EXTERN static
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
#define WEPOLL_INTERNAL
|
||||
#define WEPOLL_INTERNAL_VAR extern
|
||||
#define WEPOLL_INTERNAL_EXTERN extern
|
||||
|
||||
2
src/nt.h
2
src/nt.h
@ -132,7 +132,7 @@ typedef struct _OBJECT_ATTRIBUTES {
|
||||
X(ULONG, WINAPI, RtlNtStatusToDosError, (NTSTATUS Status))
|
||||
|
||||
#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)
|
||||
#undef X
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user