summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Dirent_Test.cpp2
-rw-r--r--tests/Enum_Interfaces_Test.cpp4
-rw-r--r--tests/SOCK_Connector_Test.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/Dirent_Test.cpp b/tests/Dirent_Test.cpp
index 79869e1613e..d6c71b313e7 100644
--- a/tests/Dirent_Test.cpp
+++ b/tests/Dirent_Test.cpp
@@ -31,7 +31,7 @@ main (int, ACE_TCHAR *[])
ACE_START_TEST (ACE_TEXT ("Dirent_Test"));
int status = 0;
- DIR *directory = ACE_OS::opendir (ACE_TEXT ("../tests"));
+ ACE_DIR *directory = ACE_OS::opendir (ACE_TEXT ("../tests"));
int entrycount = 0;
for (; ACE_OS::readdir(directory) != 0; entrycount++);
diff --git a/tests/Enum_Interfaces_Test.cpp b/tests/Enum_Interfaces_Test.cpp
index c08692010a4..bbf9097f2b8 100644
--- a/tests/Enum_Interfaces_Test.cpp
+++ b/tests/Enum_Interfaces_Test.cpp
@@ -38,8 +38,8 @@ main (int, ACE_TCHAR *[])
{
ACE_START_TEST (ACE_TEXT ("Enum_Interfaces_Test"));
- struct utsname uname;
- ACE_OS::uname(&uname);
+ ACE_utsname uname;
+ ACE_OS::uname (&uname);
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Machine: %s running on %s\n"),
uname.nodename, uname.machine ));
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Platform: %s, %s, %s\n"),
diff --git a/tests/SOCK_Connector_Test.cpp b/tests/SOCK_Connector_Test.cpp
index 42e347cf26f..0d31cd38452 100644
--- a/tests/SOCK_Connector_Test.cpp
+++ b/tests/SOCK_Connector_Test.cpp
@@ -80,7 +80,7 @@ find_another_host (ACE_TCHAR other_host[])
#if !defined (ACE_LACKS_GETHOSTENT)
// These gethost-type things don't work everywhere.
struct hostent *h;
- struct utsname un;
+ ACE_utsname un;
ACE_OS::uname (&un);