X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_ex_ms.c;h=a4c422c98ce5a0d06b91b20f9ddbc7316f051cdc;hb=762bc0a2a50222d74b01d9a88071bfaf5d90979b;hp=6e64f4af1994897d3878f8ea5b14f6c7647f5e6e;hpb=9634ca974c4418c0800090e33d37ef1fe7e8cb30;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_ex_ms.c b/src/5gnrmac/rg_ex_ms.c index 6e64f4af1..a4c422c98 100755 --- a/src/5gnrmac/rg_ex_ms.c +++ b/src/5gnrmac/rg_ex_ms.c @@ -73,17 +73,11 @@ registered with SSI during the LTE MAC Task initialization. * @param[in] Reason reason. * @return void **/ -#ifdef ANSI static inline void rgHdlSMEvents ( Pst *pst, /* post structure */ Buffer *mBuf /* message buffer */ ) -#else -static inline void rgHdlSMEvents(pst, mBuf) -Pst *pst; /* post structure */ -Buffer *mBuf; /* message buffer */ -#endif { switch(pst->event) { @@ -154,17 +148,11 @@ Buffer *mBuf; /* message buffer */ * @param[in] Reason reason. * @return void **/ -#ifdef ANSI static inline void rgHdlNHEvents ( Pst *pst, /* post structure */ Buffer *mBuf /* message buffer */ ) -#else -static inline void rgHdlNHEvents(pst, mBuf) -Pst *pst; /* post structure */ -Buffer *mBuf; /* message buffer */ -#endif { switch(pst->event) { @@ -199,17 +187,11 @@ Buffer *mBuf; /* message buffer */ * @param[in] Reason reason. * @return void **/ -#ifdef ANSI static inline void rgHdlKWEvents ( Pst *pst, /* post structure */ Buffer *mBuf /* message buffer */ ) -#else -static inline void rgHdlKWEvents(pst, mBuf) -Pst *pst; /* post structure */ -Buffer *mBuf; /* message buffer */ -#endif { switch(pst->event) { @@ -254,17 +236,11 @@ Buffer *mBuf; /* message buffer */ * @param[in] Reason reason. * @return void **/ -#ifdef ANSI static inline void rgHdlTFEvents ( Pst *pst, /* post structure */ Buffer *mBuf /* message buffer */ ) -#else -static inline void rgHdlTFEvents(pst, mBuf) -Pst *pst; /* post structure */ -Buffer *mBuf; /* message buffer */ -#endif { switch(pst->event) { @@ -307,17 +283,11 @@ Buffer *mBuf; /* message buffer */ * @param[in] Reason reason. * @return void **/ -#ifdef ANSI static inline void rgHdlRGEvents ( Pst *pst, /* post structure */ Buffer *mBuf /* message buffer */ ) -#else -static inline void rgHdlRGEvents(pst, mBuf) -Pst *pst; /* post structure */ -Buffer *mBuf; /* message buffer */ -#endif { switch(pst->event) { @@ -431,17 +401,11 @@ Buffer *mBuf; /* message buffer */ * @return S16 * -# ROK **/ -#ifdef ANSI S16 rgActvTsk ( Pst *pst, /* post structure */ Buffer *mBuf /* message buffer */ ) -#else -S16 rgActvTsk(pst, mBuf) -Pst *pst; /* post structure */ -Buffer *mBuf; /* message buffer */ -#endif { switch(pst->srcEnt) {