summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/Timer_Queue.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Timer_Queue.h')
-rw-r--r--ace/Timer_Queue.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/ace/Timer_Queue.h b/ace/Timer_Queue.h
index 0b35da4b98f..e7ee550300d 100644
--- a/ace/Timer_Queue.h
+++ b/ace/Timer_Queue.h
@@ -5,39 +5,40 @@
//
// = LIBRARY
// ace
-//
+//
// = FILENAME
// Timer_Queue.h
//
// = AUTHOR
// Doug Schmidt and Irfan Pyarali
-//
+//
// ============================================================================
#ifndef ACE_TIMER_QUEUE_H
#define ACE_TIMER_QUEUE_H
#include "ace/Synch.h"
-#include "ace/Timer_Queue_T.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/Timer_Queue_T.h"
+
// The following typedef are here for ease of use and backward
// compatibility.
typedef ACE_Timer_Node_T<ACE_Event_Handler *>
- ACE_Timer_Node;
+ ACE_Timer_Node;
-typedef ACE_Timer_Queue_T<ACE_Event_Handler *,
- ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
- ACE_SYNCH_RECURSIVE_MUTEX>
- ACE_Timer_Queue;
+typedef ACE_Timer_Queue_T<ACE_Event_Handler *,
+ ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
+ ACE_SYNCH_RECURSIVE_MUTEX>
+ ACE_Timer_Queue;
-typedef ACE_Timer_Queue_Iterator_T<ACE_Event_Handler *,
- ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
- ACE_SYNCH_RECURSIVE_MUTEX>
- ACE_Timer_Queue_Iterator;
+typedef ACE_Timer_Queue_Iterator_T<ACE_Event_Handler *,
+ ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
+ ACE_SYNCH_RECURSIVE_MUTEX>
+ ACE_Timer_Queue_Iterator;
#endif /* ACE_TIMER_QUEUE_H */