X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmt%2Fss_drvr.c;h=777c39ae20febf7e52a95d6fefd17661e193f5f7;hb=47a15faec02b721d3e466815eb388fea0a209e3c;hp=77f2c3d689fc1b028dc0a8887e99b745aeefd23d;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/mt/ss_drvr.c b/src/mt/ss_drvr.c index 77f2c3d68..777c39ae2 100644 --- a/src/mt/ss_drvr.c +++ b/src/mt/ss_drvr.c @@ -93,7 +93,6 @@ * File: ss_drvr.c * */ -#ifdef ANSI S16 SRegDrvrTsk ( Inst channel, /* channel instance */ @@ -102,14 +101,6 @@ ProcId high, /* processor ID -- high */ ActvTsk actvTsk, /* activation function */ ISTsk isTsk /* interrupt service function */ ) -#else -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 S16 SDeregDrvrTsk ( Inst channel /* channel instance */ ) -#else -S16 SDeregDrvrTsk(channel) -Inst channel; -#endif { /* ss002.301 Modifications */ - TRC1(SRegDrvrTsk); #if (ERRCLASS & ERRCLS_INT_PAR) if (channel >= SS_MAX_DRVRTSKS)