summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-22 19:45:15 -0500
committermidipix <writeonce@midipix.org>2019-02-22 19:46:44 -0500
commitc30fbc5873c4b277e02e11bf47e30aa50e1e152f (patch)
tree946f5ff7651dc48a1109032d384b36063116ba6e /src/internal
parent9a9511229ba1602bfccf8aba4b93c891221c167d (diff)
downloadntapi-c30fbc5873c4b277e02e11bf47e30aa50e1e152f.tar.bz2
ntapi-c30fbc5873c4b277e02e11bf47e30aa50e1e152f.tar.xz
attribute protected visibility to declarations of internal functions.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi_impl.h14
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)