Make functions match prototypes.

This commit is contained in:
W. Eric Norum
2000-02-08 03:36:20 +00:00
parent 444d42082f
commit 3b7effc95b

View File

@@ -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)