diff options
author | midipix <writeonce@midipix.org> | 2019-07-29 14:39:02 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-07-29 14:39:02 +0000 |
commit | f9e9dfda7f6a9accddeffa927c3355dff8e492ac (patch) | |
tree | 792ff30b9fee2a65948ef9ca407e56c26ec8eede | |
parent | 2903da0d3485e64a6d5fadac554d9bfac0e2cd91 (diff) | |
download | ntapi-f9e9dfda7f6a9accddeffa927c3355dff8e492ac.tar.bz2 ntapi-f9e9dfda7f6a9accddeffa927c3355dff8e492ac.tar.xz |
daemon routines: make __ntapi_dsr_{start|once} strictly internal functions.
-rw-r--r-- | src/daemon/ntapi_dsr_init.c | 7 | ||||
-rw-r--r-- | src/internal/ntapi_impl.h | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/ntapi_dsr_init.c b/src/daemon/ntapi_dsr_init.c index 702a20a..b9ee09b 100644 --- a/src/daemon/ntapi_dsr_init.c +++ b/src/daemon/ntapi_dsr_init.c @@ -14,7 +14,8 @@ int32_t __attr_hidden__ __ntapi_tt_seh_frame(void *, void *, void *, int32_t (*)(nt_daemon_params *)); -static int32_t __stdcall __ntapi_dsr_once(nt_daemon_params * params); +static int32_t __ntapi_dsr_once(nt_daemon_params * params); +static int32_t __ntapi_dsr_start(nt_daemon_params * params); int32_t __stdcall __ntapi_dsr_init(nt_daemon_params * params) { @@ -217,7 +218,7 @@ static int32_t __ntapi_dsr_start_routine(nt_daemon_params * params) __ntapi_dsr_start_impl(params)); } -int32_t __stdcall __ntapi_dsr_start(nt_daemon_params * params) +static int32_t __ntapi_dsr_start(nt_daemon_params * params) { return __ntapi_tt_seh_frame( params,0,0, @@ -225,7 +226,7 @@ int32_t __stdcall __ntapi_dsr_start(nt_daemon_params * params) } /* __ntapi_dsr_once executes in the daemon's dedicated thread */ -static int32_t __stdcall __ntapi_dsr_once(nt_daemon_params * params) +static int32_t __ntapi_dsr_once(nt_daemon_params * params) { int32_t status; diff --git a/src/internal/ntapi_impl.h b/src/internal/ntapi_impl.h index 2c2d162..cde1dc7 100644 --- a/src/internal/ntapi_impl.h +++ b/src/internal/ntapi_impl.h @@ -145,7 +145,6 @@ __attr_protected__ int32_t __ntapi_tt_open_file_utf8(void ** hfile, void * hat, __attr_protected__ int32_t __ntapi_tt_open_dir_utf8(void ** hfile, void * hat, const char * arg, int fprivate, wchar16_t *, uint32_t); /* daemon internals */ -__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 *); |