summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-05-11 18:45:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-05-11 18:45:20 +0000
commit1fc803f5848357cb5bc5a4ce158780d2b1bc89e8 (patch)
treee918556e2aa003520fdad9331922b76581ffdafc /tests
parent9f0637429cc177d8225ee2926178f5a1333004a1 (diff)
downloadATCD-1fc803f5848357cb5bc5a4ce158780d2b1bc89e8.tar.gz
ChangeLogTag:Fri May 11 10:25:00 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
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);