Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@622 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjlib/include/pj/os.h b/pjlib/include/pj/os.h
index 2a57ab8..e87d5ad 100644
--- a/pjlib/include/pj/os.h
+++ b/pjlib/include/pj/os.h
@@ -33,7 +33,7 @@
*/
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* @defgroup PJ_THREAD Threads
* @ingroup PJ_OS
@@ -226,7 +226,7 @@
* @}
*/
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* @defgroup PJ_TLS Thread Local Storage.
* @ingroup PJ_OS
@@ -271,7 +271,7 @@
*/
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* @defgroup PJ_ATOMIC Atomic Variables
* @ingroup PJ_OS
@@ -382,7 +382,7 @@
* @}
*/
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* @defgroup PJ_MUTEX Mutexes.
* @ingroup PJ_OS
@@ -403,7 +403,7 @@
{
PJ_MUTEX_DEFAULT,
PJ_MUTEX_SIMPLE,
- PJ_MUTEX_RECURSE,
+ PJ_MUTEX_RECURSE
} pj_mutex_type_e;
@@ -500,7 +500,7 @@
* @}
*/
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* @defgroup PJ_RW_MUTEX Reader/Writer Mutex
* @ingroup PJ_OS
@@ -576,7 +576,7 @@
*/
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* @defgroup PJ_CRIT_SEC Critical sections.
* @ingroup PJ_OS
@@ -610,7 +610,7 @@
* @}
*/
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0
/**
* @defgroup PJ_SEM Semaphores.
@@ -679,7 +679,7 @@
#endif /* PJ_HAS_SEMAPHORE */
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
#if defined(PJ_HAS_EVENT_OBJ) && PJ_HAS_EVENT_OBJ != 0
/**
* @defgroup PJ_EVENT Event Object.
@@ -771,7 +771,7 @@
*/
#endif /* PJ_HAS_EVENT_OBJ */
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* @addtogroup PJ_TIME Time Data Type and Manipulation.
* @ingroup PJ_OS
@@ -836,7 +836,7 @@
* @}
*/
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
#if defined(PJ_TERM_HAS_COLOR) && PJ_TERM_HAS_COLOR != 0
/**
@@ -867,7 +867,7 @@
#endif /* PJ_TERM_HAS_COLOR */
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* @defgroup PJ_TIMESTAMP High Resolution Timestamp
* @ingroup PJ_OS
@@ -1046,7 +1046,7 @@
/** @} */
-///////////////////////////////////////////////////////////////////////////////
+/* **************************************************************************/
/**
* Internal PJLIB function to initialize the threading subsystem.
* @return PJ_SUCCESS or the appropriate error code.