error.h: place macros above function declarations
This commit is contained in:
parent
01c82b9364
commit
4eb7441254
@ -6,10 +6,6 @@
|
||||
#include "internal.h"
|
||||
#include "ntstatus.h"
|
||||
|
||||
EPOLL_INTERNAL errno_t err_map_win_error_to_errno(DWORD error);
|
||||
|
||||
EPOLL_INTERNAL void err_set_win_error(DWORD error);
|
||||
|
||||
#define _return_error_helper(error, value) \
|
||||
do { \
|
||||
err_set_win_error(error); \
|
||||
@ -19,4 +15,7 @@ EPOLL_INTERNAL void err_set_win_error(DWORD error);
|
||||
|
||||
#define return_error(value, ...) _return_error_helper(__VA_ARGS__ + 0, value)
|
||||
|
||||
EPOLL_INTERNAL errno_t err_map_win_error_to_errno(DWORD error);
|
||||
EPOLL_INTERNAL void err_set_win_error(DWORD error);
|
||||
|
||||
#endif /* EPOLL_ERROR_H_ */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user