summaryrefslogtreecommitdiff
path: root/utility/rtos_compatibility_layers/posix/px_sem_find_sem.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-07-28 07:24:02 +0000
committerYuxin Zhou <[email protected]>2021-07-28 07:24:02 +0000
commitd0dab582506f132690b35b36ffea129ad51110b0 (patch)
tree13add80dd314dc38efc1830f3d1f36b5a2596e98 /utility/rtos_compatibility_layers/posix/px_sem_find_sem.c
parent244365fc6a937c754cfc6bb8e6895dc6f37bac0e (diff)
Release 6.1.8v6.1.8_rel
Diffstat (limited to 'utility/rtos_compatibility_layers/posix/px_sem_find_sem.c')
-rw-r--r--utility/rtos_compatibility_layers/posix/px_sem_find_sem.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/utility/rtos_compatibility_layers/posix/px_sem_find_sem.c b/utility/rtos_compatibility_layers/posix/px_sem_find_sem.c
index 64061575..4bbd45b7 100644
--- a/utility/rtos_compatibility_layers/posix/px_sem_find_sem.c
+++ b/utility/rtos_compatibility_layers/posix/px_sem_find_sem.c
@@ -22,9 +22,9 @@
/* Include necessary system files. */
-#include "tx_api.h" /* Threadx API */
-#include "pthread.h" /* Posix API */
-#include "px_int.h" /* Posix helper functions */
+#include "tx_api.h" /* Threadx API */
+#include "pthread.h" /* Posix API */
+#include "px_int.h" /* Posix helper functions */
/**************************************************************************/
@@ -32,7 +32,7 @@
/* FUNCTION RELEASE */
/* */
/* posix_find_sem PORTABLE C */
-/* 6.x */
+/* 6.1.7 */
/* AUTHOR */
/* */
/* William E. Lamie, Microsoft Corporation */
@@ -49,7 +49,7 @@
/* OUTPUT */
/* */
/* sem If successful */
-/* ERROR IF fails */
+/* ERROR If fails */
/* */
/* CALLS */
/* */
@@ -63,7 +63,9 @@
/* */
/* DATE NAME DESCRIPTION */
/* */
-/* xx-xx-xxxx William E. Lamie Initial Version 6.x */
+/* 06-02-2021 William E. Lamie Initial Version 6.1.7 */
+/* 08-02-2021 Scott Larson Removed unneeded semicolon, */
+/* resulting in version 6.1.8 */
/* */
/**************************************************************************/
sem_t* posix_find_sem(const CHAR * name)
@@ -91,7 +93,7 @@ ULONG namelength;
if(* dummy_name == * dummy_sem_name)
{
/* End of the string. */
- if(* dummy_name == '\0');
+ if(* dummy_name == '\0')
{
match = TX_TRUE;
break;