X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Frg_sch_utl_clist.c;h=9a73cb1278e394c1e730f39f512530e5b5b70136;hb=826d724e0bb1a9803adc1a662d4f6bc4f48e023b;hp=101f6b9bd9f7b9c8b3b325223df952bf0bf88918;hpb=def50dc175cebc67238db5f1acd5ff322a2279bd;p=o-du%2Fl2.git diff --git a/src/5gnrsch/rg_sch_utl_clist.c b/src/5gnrsch/rg_sch_utl_clist.c index 101f6b9bd..9a73cb127 100755 --- a/src/5gnrsch/rg_sch_utl_clist.c +++ b/src/5gnrsch/rg_sch_utl_clist.c @@ -51,15 +51,10 @@ * File: rr_clist.c * */ -#ifdef ANSI Void rgSCHRrCListInit ( RgSchRrCListCp *lCp /* list control point */ ) -#else -Void rgSCHRrCListInit(lCp) -RgSchRrCListCp *lCp; /* list control point */ -#endif { lCp->first = (RgSchRrCList *)NULLP; @@ -81,17 +76,11 @@ RgSchRrCListCp *lCp; /* list control point */ * * File: rr_clist.c */ -#ifdef ANSI Void rgSCHRrCListAdd2Crnt ( - RgSchRrCListCp *lCp, /* list control point */ - RgSchRrCList *node /* node to be added */ - ) -#else -Void rgSCHRrCListAdd2Crnt(lCp, node) - RgSchRrCListCp *lCp; /* list control point */ - RgSchRrCList *node; /* node to be added */ -#endif +RgSchRrCListCp *lCp, /* list control point */ +RgSchRrCList *node /* node to be added */ +) { #ifdef ERRCHK if (lCp == (RgSchRrCListCp *)NULLP) @@ -133,17 +122,11 @@ Void rgSCHRrCListAdd2Crnt(lCp, node) * File: rr_clist.c * */ -#ifdef ANSI Void rgSCHRrCListAdd2Tail ( RgSchRrCListCp *lCp, /* list control point */ RgSchRrCList *node /* node to be added */ ) -#else -Void rgSCHRrCListAdd2Tail(lCp, node) -RgSchRrCListCp *lCp; /* list control point */ -RgSchRrCList *node; /* node to be added */ -#endif { #ifdef ERRCHK @@ -187,17 +170,11 @@ RgSchRrCList *node; /* node to be added */ * File: rr_clist.c * */ -#ifdef ANSI RgSchRrCList *rgSCHRrCListDelFrm ( RgSchRrCListCp *lCp, /* list control pointer */ RgSchRrCList *node /* node to be removed */ ) -#else -RgSchRrCList *rgSCHRrCListDelFrm(lCp, node) -RgSchRrCListCp *lCp; /* list control pointer */ -RgSchRrCList *node; /* node to be removed */ -#endif { #ifdef ERRCHK @@ -265,17 +242,11 @@ RgSchRrCList *node; /* node to be removed */ * File: rr_clist.c * */ -#ifdef ANSI Void rgSCHRrCListInsrtAtCrnt ( RgSchRrCListCp *lCp, /* list control pointer */ RgSchRrCList *node /* node to be removed */ ) -#else -Void rgSCHRrCListInsrtAtCrnt(lCp, node) -RgSchRrCListCp *lCp; /* list control pointer */ -RgSchRrCList *node; /* node to be inserted */ -#endif { RgSchRrCList *crnt;