summaryrefslogtreecommitdiff
path: root/ACE/examples/ASX/CCM_App
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/ASX/CCM_App')
-rw-r--r--ACE/examples/ASX/CCM_App/CCM_App.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/ACE/examples/ASX/CCM_App/CCM_App.cpp b/ACE/examples/ASX/CCM_App/CCM_App.cpp
index 1b59432e963..9c5ebf23b8d 100644
--- a/ACE/examples/ASX/CCM_App/CCM_App.cpp
+++ b/ACE/examples/ASX/CCM_App/CCM_App.cpp
@@ -20,8 +20,8 @@ public:
virtual int init (int, ACE_TCHAR *[]);
virtual int fini ();
- virtual int suspend (void);
- virtual int resume (void);
+ virtual int suspend ();
+ virtual int resume ();
};
int
@@ -43,7 +43,7 @@ Test_Task::close (u_long)
}
int
-Test_Task::suspend (void)
+Test_Task::suspend ()
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("suspending in %s\n"),
@@ -52,7 +52,7 @@ Test_Task::suspend (void)
}
int
-Test_Task::resume (void)
+Test_Task::resume ()
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("resuming in %s\n"),
@@ -71,7 +71,7 @@ Test_Task::init (int, ACE_TCHAR *[])
}
int
-Test_Task::fini (void)
+Test_Task::fini ()
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("finalizing %s (%@)\n"),
@@ -87,33 +87,33 @@ ACE_SVC_FACTORY_DEFINE (Test_Task)
// Dynamically linked functions used to control configuration.
-extern "C" ACE_Svc_Export MT_Stream *make_stream (void);
-extern "C" ACE_Svc_Export MT_Module *make_da (void);
-extern "C" ACE_Svc_Export MT_Module *make_ea (void);
-extern "C" ACE_Svc_Export MT_Module *make_mr (void);
+extern "C" ACE_Svc_Export MT_Stream *make_stream ();
+extern "C" ACE_Svc_Export MT_Module *make_da ();
+extern "C" ACE_Svc_Export MT_Module *make_ea ();
+extern "C" ACE_Svc_Export MT_Module *make_mr ();
MT_Stream *
-make_stream (void)
+make_stream ()
{
return new MT_Stream;
}
MT_Module *
-make_da (void)
+make_da ()
{
return new MT_Module (ACE_TEXT ("Device_Adapter"),
new Test_Task, new Test_Task);
}
MT_Module *
-make_ea (void)
+make_ea ()
{
return new MT_Module (ACE_TEXT ("Event_Analyzer"),
new Test_Task, new Test_Task);
}
MT_Module *
-make_mr (void)
+make_mr ()
{
return new MT_Module (ACE_TEXT ("Multicast_Router"),
new Test_Task, new Test_Task);