summaryrefslogtreecommitdiff
path: root/examples/Connection/misc/Connection_Handler.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-20 15:04:30 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-20 15:04:30 +0000
commit8a2a4de7b89044268738dccbda71567a4a615623 (patch)
treec31b5ca6020117d1f3045d01b560b8ba200dad44 /examples/Connection/misc/Connection_Handler.cpp
parent3050d3529a41de9a7b3ba811f92a6d5b3bf1469a (diff)
downloadATCD-8a2a4de7b89044268738dccbda71567a4a615623.tar.gz
added explicit int return type to definition of Connection_Handler::close (u_long); and added ACE_UNUSED_ARG (tv) to handle_timeout ()
Diffstat (limited to 'examples/Connection/misc/Connection_Handler.cpp')
-rw-r--r--examples/Connection/misc/Connection_Handler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/Connection/misc/Connection_Handler.cpp b/examples/Connection/misc/Connection_Handler.cpp
index 3f79610d81e..3ea12803dad 100644
--- a/examples/Connection/misc/Connection_Handler.cpp
+++ b/examples/Connection/misc/Connection_Handler.cpp
@@ -63,6 +63,7 @@ Connection_Handler::open (void *)
return this->activate (THR_NEW_LWP);
}
+int
Connection_Handler::close (u_long)
{
ACE_DEBUG ((LM_DEBUG, "(%P|%t) in close()\n"));
@@ -178,6 +179,8 @@ int
Connection_Handler::handle_timeout (const ACE_Time_Value &tv,
const void *arg)
{
+ ACE_UNUSED_ARG (tv);
+
ACE_ASSERT (arg == this);
ACE_DEBUG ((LM_DEBUG, " (%P|%t) handling timeout from this = %u\n", this));
return 0;