diff options
Diffstat (limited to 'src')
-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 *); |