summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-14 18:02:30 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-14 18:02:30 +0000
commit6f637290010cd0298e70e37306445d0118d380ae (patch)
treef0da82d32437a6698f602785b5a0c30a636c6721
parentb6bc2bf83c257842ccac2ec26d472987600ddc63 (diff)
downloadATCD-6f637290010cd0298e70e37306445d0118d380ae.tar.gz
#include math.h after #including the ACE headers, to avoid a
compile warning on ghs/VxWorks
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h14
-rw-r--r--TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.h14
2 files changed, 14 insertions, 14 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h
index b7ef4352b82..6c9b21329d4 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h
@@ -17,8 +17,6 @@
#if !defined (TASK_CLIENT_H)
#define TASK_CLIENT_H
-#include <math.h>
-
#include "ace/Synch.h"
#include "ace/Task.h"
#include "ace/Thread_Manager.h"
@@ -29,6 +27,8 @@
#include "orbsvcs/CosNamingC.h"
#include "cubitC.h"
+#include <math.h>
+
// @@ Should we put this into a more general file, e.g., OS.h?
//
// I will integrate this, together with the sqrt() function when
@@ -53,10 +53,10 @@ public:
// Arbitrary generator used by the client to create the numbers to be
// cubed.
-static inline int
-func (u_int i)
-{
- return i - 117;
+static inline int
+func (u_int i)
+{
+ return i - 117;
}
enum Cubit_Datatypes
@@ -169,7 +169,7 @@ class Client : public ACE_Task<ACE_SYNCH>
{
// = TITLE
// The Cubit client.
- //
+ //
// = DESCRIPTION
// This class implements the Cubit Client, which is an active object.
// `n' threads execute svc, and make 2way CORBA calls on the server
diff --git a/TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.h b/TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.h
index b7ef4352b82..6c9b21329d4 100644
--- a/TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.h
+++ b/TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.h
@@ -17,8 +17,6 @@
#if !defined (TASK_CLIENT_H)
#define TASK_CLIENT_H
-#include <math.h>
-
#include "ace/Synch.h"
#include "ace/Task.h"
#include "ace/Thread_Manager.h"
@@ -29,6 +27,8 @@
#include "orbsvcs/CosNamingC.h"
#include "cubitC.h"
+#include <math.h>
+
// @@ Should we put this into a more general file, e.g., OS.h?
//
// I will integrate this, together with the sqrt() function when
@@ -53,10 +53,10 @@ public:
// Arbitrary generator used by the client to create the numbers to be
// cubed.
-static inline int
-func (u_int i)
-{
- return i - 117;
+static inline int
+func (u_int i)
+{
+ return i - 117;
}
enum Cubit_Datatypes
@@ -169,7 +169,7 @@ class Client : public ACE_Task<ACE_SYNCH>
{
// = TITLE
// The Cubit client.
- //
+ //
// = DESCRIPTION
// This class implements the Cubit Client, which is an active object.
// `n' threads execute svc, and make 2way CORBA calls on the server