summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-04-04 06:32:05 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-04-04 06:32:05 +0000
commit35de29cbea6074a441e03ac81803363dfc9b500c (patch)
treea7f9bc3c1955957ca5eec2ef1566c723546b812c
parentd00967e6a2d0e086e94ff2115aaa175f040ef0c8 (diff)
downloadATCD-35de29cbea6074a441e03ac81803363dfc9b500c.tar.gz
*** empty log message ***
-rw-r--r--ace/OS.cpp3
-rw-r--r--ace/OS.h8
-rw-r--r--ace/OS.i2
3 files changed, 6 insertions, 7 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp
index 7f36d06215d..f9d0f41d04d 100644
--- a/ace/OS.cpp
+++ b/ace/OS.cpp
@@ -3590,8 +3590,7 @@ ACE_PSOS_Time_t::init_simulator_time ()
#endif /* ACE_PSOSIM */
-
-#endif /* ACE_PSOS */
+#endif /* ACE_PSOS */
#if defined (__DGUX) && defined (ACE_HAS_THREADS) && defined (_POSIX4A_DRAFT10_SOURCE)
extern "C" int __d6_sigwait (sigset_t *set);
diff --git a/ace/OS.h b/ace/OS.h
index a9c0fd59818..80046a59fde 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -41,7 +41,7 @@
// An example is a reinterpret cast to a local pointer variable in a
// const member function.
# define ACE_CAST_CONST const
-#endif
+#endif /* ACE_CAST_CONST */
// Deal with MSVC++ insanity for CORBA...
#if defined (ACE_HAS_BROKEN_NAMESPACES)
@@ -317,7 +317,7 @@
#else
#define ASYS_TCHAR char
#define ASYS_TEXT(STRING) STRING
-#endif
+#endif /* ACE_HAS_MOSTLY_UNICODE_APIS */
// Here are all ACE-specific global declarations needed throughout
// ACE.
@@ -406,7 +406,7 @@ private:
#define ACE_NOTREACHED(a)
#else
#define ACE_NOTREACHED(a) a
-#endif
+#endif /* defined (__sgi) || defined (ghs) || defined (DEC_CXX) */
#if defined (ACE_REQUIRES_FUNC_DEFINITIONS)
// It just evaporated ;-) Not pleasant.
@@ -3106,7 +3106,7 @@ extern int t_errno;
#if defined (ACE_HAS_TIUSER_H) || defined (ACE_HAS_XTI)
#if defined (ACE_HAS_TIUSER_H_BROKEN_EXTERN_C)
extern "C" {
-#endif
+#endif /* ACE_HAS_TIUSER_H_BROKEN_EXTERN_C */
#if defined (ACE_HAS_TIUSER_H)
#include /**/ <tiuser.h>
#else
diff --git a/ace/OS.i b/ace/OS.i
index 1ea9d841e74..7e6c5f1f016 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -1479,7 +1479,7 @@ ACE_OS::mutex_init (ACE_mutex_t *m,
if (::pthread_mutexattr_create (&attributes) == 0
#if !defined (ACE_DOES_NOT_HAVE_SETKIND_NP)
&& ::pthread_mutexattr_setkind_np (&attributes, type) == 0
-#endif
+#endif /* ACE_HAS_DCETHREADS */
&& ::pthread_mutex_init (m, attributes) == 0)
#else
if (::pthread_mutexattr_init (&attributes) == 0