aboutsummaryrefslogtreecommitdiff
path: root/src/pj_mutex.c
diff options
context:
space:
mode:
authorThomas Knudsen <lastname DOT firstname AT gmail DOT com>2016-05-11 08:58:28 +0200
committerThomas Knudsen <lastname DOT firstname AT gmail DOT com>2016-05-11 08:58:28 +0200
commitf58ba586ebf11700317513f7bb5be84590d37a42 (patch)
tree0961d66f6cc07f262ea45e23d55efcd4c90c25c2 /src/pj_mutex.c
parente8ed8e58e8f557fc6f9443a00af1e73a5956c759 (diff)
downloadPROJ-f58ba586ebf11700317513f7bb5be84590d37a42.tar.gz
PROJ-f58ba586ebf11700317513f7bb5be84590d37a42.zip
Portability cleanups for the code in PR #6 (and a few additional source files)
Eliminated mixed code and declarations, converted C++ style comments and probably did a few more things highlighted by running gcc with the "-W -Wall -Wextra -pedantic" flags
Diffstat (limited to 'src/pj_mutex.c')
-rw-r--r--src/pj_mutex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pj_mutex.c b/src/pj_mutex.c
index dc484c69..2f6533be 100644
--- a/src/pj_mutex.c
+++ b/src/pj_mutex.c
@@ -29,7 +29,7 @@
/* projects.h and windows.h conflict - avoid this! */
#if defined(MUTEX_pthread) && !defined(_XOPEN_SOURCE)
-// For pthread_mutexattr_settype
+/* For pthread_mutexattr_settype */
#define _XOPEN_SOURCE 500
#endif
@@ -86,7 +86,7 @@ void pj_cleanup_lock()
{
}
-#endif // def MUTEX_stub
+#endif /* def MUTEX_stub */
/************************************************************************/
/* ==================================================================== */
@@ -154,7 +154,7 @@ void pj_cleanup_lock()
{
}
-#endif // def MUTEX_pthread
+#endif /* def MUTEX_pthread */
/************************************************************************/
/* ==================================================================== */
@@ -219,4 +219,4 @@ void pj_cleanup_lock()
}
}
-#endif // def MUTEX_win32
+#endif /* def MUTEX_win32 */