X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmt%2Fss_drvr.c;h=777c39ae20febf7e52a95d6fefd17661e193f5f7;hb=514d4c21e79d37636005186dd9ac5510742b7618;hp=337e0d7ee52983119b5e2c5c543c4b06d8e1e0d6;hpb=4d45b914f9e94203603d3b9fdbcb1aad361301dd;p=o-du%2Fl2.git diff --git a/src/mt/ss_drvr.c b/src/mt/ss_drvr.c index 337e0d7ee..777c39ae2 100644 --- a/src/mt/ss_drvr.c +++ b/src/mt/ss_drvr.c @@ -93,8 +93,7 @@ * File: ss_drvr.c * */ -#ifdef ANSI -PUBLIC S16 SRegDrvrTsk +S16 SRegDrvrTsk ( Inst channel, /* channel instance */ ProcId low, /* processor ID -- low */ @@ -102,14 +101,6 @@ ProcId high, /* processor ID -- high */ 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) @@ -121,14 +112,13 @@ ISTsk isTsk; /* interrupt service function */ /* 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) @@ -242,18 +232,12 @@ ISTsk isTsk; /* interrupt service function */ * 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)