summaryrefslogtreecommitdiff
path: root/examples/Misc
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-18 03:55:12 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-18 03:55:12 +0000
commite1b089abb1df9b1c7a5f6eabf1100b6c21ec1fe8 (patch)
tree48ad48dd7efef5ce326c5e6e7556f4b0806e6d0e /examples/Misc
parentf1681c8976998b26b19bdf6cb4db18194aeea3e7 (diff)
downloadATCD-e1b089abb1df9b1c7a5f6eabf1100b6c21ec1fe8.tar.gz
ywhoopie!!
whoopie, more new stuff, more things will break!! I have no idea about this file. Heck, I am not even Doug!
Diffstat (limited to 'examples/Misc')
-rw-r--r--examples/Misc/test_read_buffer.cpp2
-rw-r--r--examples/Misc/test_sstring.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/Misc/test_read_buffer.cpp b/examples/Misc/test_read_buffer.cpp
index caf7330f200..c661e4f1159 100644
--- a/examples/Misc/test_read_buffer.cpp
+++ b/examples/Misc/test_read_buffer.cpp
@@ -18,7 +18,7 @@ main (int argc, char *argv[])
while ((buf = rb.read (term, search, replace)) != 0)
{
::write (1, buf, rb.size ());
- ACE_Service_Config::allocator ()->free (buf);
+ ACE_Service_Config::alloc ()->free (buf);
}
return 0;
}
diff --git a/examples/Misc/test_sstring.cpp b/examples/Misc/test_sstring.cpp
index 1af58b9f627..55e797c3851 100644
--- a/examples/Misc/test_sstring.cpp
+++ b/examples/Misc/test_sstring.cpp
@@ -1,9 +1,9 @@
-#include "ace/SString.h"
// $Id$
+#include "ace/SString.h"
int
-main (int argc, char *argv[])
+main (int, char *[])
{
ACE_CString s1 ("hello");
ACE_CString s2 ("world");