summaryrefslogtreecommitdiff
path: root/ACE/examples/NT_Service/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/NT_Service/main.cpp')
-rw-r--r--ACE/examples/NT_Service/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/examples/NT_Service/main.cpp b/ACE/examples/NT_Service/main.cpp
index 4571c51be0c..5a509177ec4 100644
--- a/ACE/examples/NT_Service/main.cpp
+++ b/ACE/examples/NT_Service/main.cpp
@@ -142,7 +142,7 @@ Process::parse_args (int argc, ACE_TCHAR* argv[])
// Define a function to handle Ctrl+C to cleanly shut this down.
-static BOOL WINAPI
+static BOOL
ConsoleHandler (DWORD /*ctrlType*/)
{
SERVICE::instance ()->handle_control (SERVICE_CONTROL_STOP);