summaryrefslogtreecommitdiff
path: root/examples/Shared_Malloc/test_position_independent_malloc.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-07-13 11:44:10 +0000
committerSteve Huston <shuston@riverace.com>1999-07-13 11:44:10 +0000
commit5569509d08ef64af36a2ec3f909453387595cfd0 (patch)
treee064f20e090a6e46e0b2a59fc053c9e2df9eaa27 /examples/Shared_Malloc/test_position_independent_malloc.cpp
parentebdb914a38a4051143fae4ae341c8a1d87753ecd (diff)
downloadATCD-5569509d08ef64af36a2ec3f909453387595cfd0.tar.gz
Moved def of Dummy_Data from .cpp to .h file to satisfy AIX IBM C++.
Diffstat (limited to 'examples/Shared_Malloc/test_position_independent_malloc.cpp')
-rw-r--r--examples/Shared_Malloc/test_position_independent_malloc.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/Shared_Malloc/test_position_independent_malloc.cpp b/examples/Shared_Malloc/test_position_independent_malloc.cpp
index 1b62b6d184b..728fc158813 100644
--- a/examples/Shared_Malloc/test_position_independent_malloc.cpp
+++ b/examples/Shared_Malloc/test_position_independent_malloc.cpp
@@ -6,6 +6,7 @@
#include "ace/Malloc.h"
#include "ace/Based_Pointer_T.h"
#include "ace/Synch.h"
+#include "test_position_independent_malloc.h"
ACE_RCSID(Shared_Malloc, test_multiple_mallocs, "$Id$")
@@ -14,15 +15,6 @@ typedef ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex> MALLOC;
// Default address for memory-mapped files.
static void *base_addr = ACE_DEFAULT_BASE_ADDR;
-// Some dummy data
-struct Dummy_Data
-{
- int i1_;
- int i2_;
- int i3_;
- ACE_Based_Pointer<Dummy_Data> next_;
-};
-
#if 0
struct Long_Test
{