From 3b7effc95bc16f0cd5fbca88a93a1f4e41517b6f Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Tue, 8 Feb 2000 03:36:20 +0000 Subject: [PATCH] Make functions match prototypes. --- src/libCom/osi/os/RTEMS/osdThread.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libCom/osi/os/RTEMS/osdThread.c b/src/libCom/osi/os/RTEMS/osdThread.c index e652c50b8..25808826d 100644 --- a/src/libCom/osi/os/RTEMS/osdThread.c +++ b/src/libCom/osi/os/RTEMS/osdThread.c @@ -124,12 +124,11 @@ threadMustCreate (const char *name, } void -threadSuspend (threadId id) +threadSuspend (void) { - rtems_id tid = (rtems_id)id; rtems_status_code sc; - sc = rtems_task_suspend (tid); + sc = rtems_task_suspend (RTEMS_SELF); if(sc != RTEMS_SUCCESSFUL) errlogPrintf("threadSuspend failed: %s\n", rtems_status_text (sc)); } @@ -226,7 +225,7 @@ threadVarId threadPrivateCreate () { return NULL; } -void threadPrivateDelete () +void threadPrivateDelete (threadVarId id) { } void threadPrivateSet (threadVarId id, void *ptr)