summaryrefslogtreecommitdiffhomepage
path: root/src/daemon
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-07-29 14:39:02 +0000
committermidipix <writeonce@midipix.org>2019-07-29 14:39:02 +0000
commitf9e9dfda7f6a9accddeffa927c3355dff8e492ac (patch)
tree792ff30b9fee2a65948ef9ca407e56c26ec8eede /src/daemon
parent2903da0d3485e64a6d5fadac554d9bfac0e2cd91 (diff)
downloadntapi-f9e9dfda7f6a9accddeffa927c3355dff8e492ac.tar.bz2
ntapi-f9e9dfda7f6a9accddeffa927c3355dff8e492ac.tar.xz
daemon routines: make __ntapi_dsr_{start|once} strictly internal functions.
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/ntapi_dsr_init.c7
1 files changed, 4 insertions, 3 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;