summaryrefslogtreecommitdiff
path: root/utility/rtos_compatibility_layers/posix/px_pth_kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility/rtos_compatibility_layers/posix/px_pth_kill.c')
-rw-r--r--utility/rtos_compatibility_layers/posix/px_pth_kill.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/utility/rtos_compatibility_layers/posix/px_pth_kill.c b/utility/rtos_compatibility_layers/posix/px_pth_kill.c
index dacdbba0..f84bceb2 100644
--- a/utility/rtos_compatibility_layers/posix/px_pth_kill.c
+++ b/utility/rtos_compatibility_layers/posix/px_pth_kill.c
@@ -33,7 +33,7 @@
/* FUNCTION RELEASE */
/* */
/* pthread_kill PORTABLE C */
-/* 6.1.7 */
+/* 6.2.0 */
/* AUTHOR */
/* */
/* William E. Lamie, Microsoft Corporation */
@@ -73,11 +73,13 @@
/* */
/* DATE NAME DESCRIPTION */
/* */
-/* 06-02-2021 William E. Lamie Initial Version 6.1.7 */
+/* 06-02-2021 William E. Lamie Initial Version 6.1.7 */
+/* 10-31-2022 Scott Larson Remove double parenthesis, */
+/* update argument type, */
+/* resulting in version 6.2.0 */
/* */
/**************************************************************************/
-
-int pthread_kill(ULONG thread_id, int sig)
+int pthread_kill(ALIGN_TYPE thread_id, int sig)
{
TX_INTERRUPT_SAVE_AREA
@@ -197,7 +199,7 @@ UINT retval;
status = posix_memory_allocate(new_signal_thread -> stack_size, &new_signal_thread -> stack_address);
/* problem allocating stack space */
- if ((status == ERROR))
+ if (status == ERROR)
{
/* Mark the previously allocated control block as available. */