summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-21 22:46:43 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-21 22:46:43 +0000
commit7814346772a4e271962afd442a4f1821cab07ee1 (patch)
treeadf7186cc963d7acffd01838601077bf68f74159
parent568ba39460b95ffae53a139d82539021c74d00c6 (diff)
downloadATCD-7814346772a4e271962afd442a4f1821cab07ee1.tar.gz
Removed struct keyword from functions that used ACE_Cleanup_Info.
-rw-r--r--ace/OS.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp
index 28d6d568c94..140daad6216 100644
--- a/ace/OS.cpp
+++ b/ace/OS.cpp
@@ -95,7 +95,7 @@ ACE_Cleanup_Info::ACE_Cleanup_Info (void)
}
int
-ACE_Cleanup_Info::operator== (const struct ACE_Cleanup_Info &o) const
+ACE_Cleanup_Info::operator== (const ACE_Cleanup_Info &o) const
{
return o.object_ == this->object_
&& o.cleanup_hook_ == this->cleanup_hook_
@@ -103,7 +103,7 @@ ACE_Cleanup_Info::operator== (const struct ACE_Cleanup_Info &o) const
}
int
-ACE_Cleanup_Info::operator!= (const struct ACE_Cleanup_Info &o) const
+ACE_Cleanup_Info::operator!= (const ACE_Cleanup_Info &o) const
{
return !(*this == o);
}
@@ -1656,19 +1656,19 @@ ACE_Thread_Adapter::invoke (void)
{
ACE_Task_Base *task_ptr = (ACE_Task_Base *) arg;
ACE_Thread_Manager *thr_mgr_ptr = task_ptr->thr_mgr ();
-
+
// This calls the Task->close () hook.
task_ptr->cleanup (task_ptr, 0);
-
+
// This prevents a second invocation of the cleanup code (called
// later by ACE_Thread_Manager::exit()).
thr_mgr_ptr->at_exit (task_ptr, 0, 0);
}
-
+
#if defined (ACE_WIN32) || defined (ACE_HAS_TSS_EMULATION)
// Call TSS destructors.
ACE_OS::cleanup_tss (0 /* not main thread */);
-
+
# if defined (ACE_WIN32) && defined (ACE_HAS_MFC) && (ACE_HAS_MFC != 0)
// Exit the thread.
// Allow CWinThread-destructor to be invoked from AfxEndThread.
@@ -1680,9 +1680,9 @@ ACE_Thread_Adapter::invoke (void)
else
::AfxEndThread ((DWORD)status);
# endif /* ACE_WIN32 && ACE_HAS_MFC && ACE_HAS_MFS != 0*/
-
+
#endif /* ACE_WIN32 || ACE_HAS_TSS_EMULATION */
-
+
return status;
}
}