diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/ntapi_impl.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/internal/ntapi_impl.h b/src/internal/ntapi_impl.h index 18845a5..eb24dee 100644 --- a/src/internal/ntapi_impl.h +++ b/src/internal/ntapi_impl.h @@ -137,20 +137,20 @@ extern ntapi_vtbl ___ntapi_shadow; /* access to library internals */ -ntapi_internals * __cdecl __ntapi_internals(void); +__attr_protected__ ntapi_internals * __cdecl __ntapi_internals(void); /* helper functions */ -int32_t __ntapi_tt_open_file_utf8(void ** hfile, void * hat, const char * arg, int fprivate, wchar16_t *, uint32_t); -int32_t __ntapi_tt_open_dir_utf8(void ** hfile, void * hat, const char * arg, int fprivate, wchar16_t *, uint32_t); +__attr_protected__ int32_t __ntapi_tt_open_file_utf8(void ** hfile, void * hat, const char * arg, int fprivate, wchar16_t *, uint32_t); +__attr_protected__ int32_t __ntapi_tt_open_dir_utf8(void ** hfile, void * hat, const char * arg, int fprivate, wchar16_t *, uint32_t); /* daemon internals */ -int32_t __ntapi_dsr_start(nt_daemon_params *); -int32_t __ntapi_dsr_connect_internal_client(nt_daemon_params *); -int32_t __ntapi_dsr_internal_client_connect(nt_daemon_params *); +__attr_protected__ int32_t __ntapi_dsr_start(nt_daemon_params *); +__attr_protected__ int32_t __ntapi_dsr_connect_internal_client(nt_daemon_params *); +__attr_protected__ int32_t __ntapi_dsr_internal_client_connect(nt_daemon_params *); /* ipc internals */ -int __ntapi_ipc_page_alloc(struct dalist_ex * dlist, void ** addr, size_t * alloc_size); +__attr_protected__ int __ntapi_ipc_page_alloc(struct dalist_ex * dlist, void ** addr, size_t * alloc_size); /* debug */ #define __ntidx(x) __offsetof(ntapi_vtbl,x) / sizeof(size_t) |