* File: ss_drvr.c
*
*/
-#ifdef ANSI
-PUBLIC S16 SRegDrvrTsk
+S16 SRegDrvrTsk
(
Inst channel, /* channel instance */
ProcId low, /* processor ID -- low */
ActvTsk actvTsk, /* activation function */
ISTsk isTsk /* interrupt service function */
)
-#else
-PUBLIC S16 SRegDrvrTsk(channel, low, high, actvTsk, isTsk)
-Inst channel; /* channel instance */
-ProcId low; /* processor ID -- low */
-ProcId high; /* processor ID -- high */
-ActvTsk actvTsk; /* activation function */
-ISTsk isTsk; /* interrupt service function */
-#endif
{
S16 ret;
#if (ERRCLASS & ERRCLS_INT_PAR)
/* ss029.103: modification: multiple procId related changes */
#ifdef SS_MULTIPLE_PROCS
- U16 count;
- U16 i;
+ uint16_t count;
+ uint16_t i;
ProcId procIdLst[SS_MAX_PROCS];
#endif /* SS_MULTIPLE_PROCS */
#endif
- TRC1(SRegDrvrTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_drvr.c
*
*/
-#ifdef ANSI
-PUBLIC S16 SDeregDrvrTsk
+S16 SDeregDrvrTsk
(
Inst channel /* channel instance */
)
-#else
-PUBLIC S16 SDeregDrvrTsk(channel)
-Inst channel;
-#endif
{
/* ss002.301 Modifications */
- TRC1(SRegDrvrTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
if (channel >= SS_MAX_DRVRTSKS)