Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Added a new Flag ODU_LWR_MAC_DEBUG in the code"
[o-du/l2.git]
/
src
/
cm
/
cm_llist.c
diff --git
a/src/cm/cm_llist.c
b/src/cm/cm_llist.c
index
a41af96
..
12fb582
100644
(file)
--- a/
src/cm/cm_llist.c
+++ b/
src/cm/cm_llist.c
@@
-61,16
+61,15
@@
*
*/
#ifdef ANSI
*
*/
#ifdef ANSI
-
PUBLIC
Void cmLListInit
+Void cmLListInit
(
CmLListCp *lCp /* list control point */
)
#else
(
CmLListCp *lCp /* list control point */
)
#else
-
PUBLIC
Void cmLListInit(lCp)
+Void cmLListInit(lCp)
CmLListCp *lCp; /* list control point */
#endif
{
CmLListCp *lCp; /* list control point */
#endif
{
- TRC3(cmLListInit);
lCp->first = (CmLList *)NULLP;
lCp->last = (CmLList *)NULLP;
lCp->first = (CmLList *)NULLP;
lCp->last = (CmLList *)NULLP;
@@
-97,18
+96,17
@@
CmLListCp *lCp; /* list control point */
*
*/
#ifdef ANSI
*
*/
#ifdef ANSI
-
PUBLIC
Void cmLListAdd2Head
+Void cmLListAdd2Head
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
#else
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
#else
-
PUBLIC
Void cmLListAdd2Head(lCp, node)
+Void cmLListAdd2Head(lCp, node)
CmLListCp *lCp; /* list control point */
CmLList *node; /* node to be added */
#endif
{
CmLListCp *lCp; /* list control point */
CmLList *node; /* node to be added */
#endif
{
- TRC3(cmLListAdd2Head);
#ifdef ERRCHK
if (lCp == (CmLListCp *)NULLP)
#ifdef ERRCHK
if (lCp == (CmLListCp *)NULLP)
@@
-146,18
+144,17
@@
CmLList *node; /* node to be added */
*
*/
#ifdef ANSI
*
*/
#ifdef ANSI
-
PUBLIC
Void cmLListAdd2Tail
+Void cmLListAdd2Tail
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
#else
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
#else
-
PUBLIC
Void cmLListAdd2Tail(lCp, node)
+Void cmLListAdd2Tail(lCp, node)
CmLListCp *lCp; /* list control point */
CmLList *node; /* node to be added */
#endif
{
CmLListCp *lCp; /* list control point */
CmLList *node; /* node to be added */
#endif
{
- TRC3(cmLListAdd2Tail);
#ifdef ERRCHK
if (lCp == (CmLListCp *)NULLP)
#ifdef ERRCHK
if (lCp == (CmLListCp *)NULLP)
@@
-195,18
+192,17
@@
CmLList *node; /* node to be added */
*
*/
#ifdef ANSI
*
*/
#ifdef ANSI
-
PUBLIC
Void cmLListInsCrnt
+Void cmLListInsCrnt
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
#else
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
#else
-
PUBLIC
Void cmLListInsCrnt(lCp, node)
+Void cmLListInsCrnt(lCp, node)
CmLListCp *lCp; /* list control point */
CmLList *node; /* node to be added */
#endif
{
CmLListCp *lCp; /* list control point */
CmLList *node; /* node to be added */
#endif
{
- TRC3(cmLListInsCrnt);
#ifdef ERRCHK
if (!lCp)
#ifdef ERRCHK
if (!lCp)
@@
-250,18
+246,17
@@
CmLList *node; /* node to be added */
*
*/
#ifdef ANSI
*
*/
#ifdef ANSI
-
PUBLIC
Void cmLListInsAfterCrnt
+Void cmLListInsAfterCrnt
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
#else
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
#else
-
PUBLIC
Void cmLListInsAfterCrnt(lCp, node)
+Void cmLListInsAfterCrnt(lCp, node)
CmLListCp *lCp; /* list control point */
CmLList *node; /* node to be added */
#endif
{
CmLListCp *lCp; /* list control point */
CmLList *node; /* node to be added */
#endif
{
- TRC3(cmLListInsAfterCrnt);
#ifdef ERRCHK
if (!lCp)
#ifdef ERRCHK
if (!lCp)
@@
-307,18
+302,17
@@
CmLList *node; /* node to be added */
*
*/
#ifdef ANSI
*
*/
#ifdef ANSI
-
PUBLIC
CmLList *cmLListDelFrm
+CmLList *cmLListDelFrm
(
CmLListCp *lCp, /* list control pointer */
CmLList *node /* node to be removed */
)
#else
(
CmLListCp *lCp, /* list control pointer */
CmLList *node /* node to be removed */
)
#else
-
PUBLIC
CmLList *cmLListDelFrm(lCp, node)
+CmLList *cmLListDelFrm(lCp, node)
CmLListCp *lCp; /* list control pointer */
CmLList *node; /* node to be removed */
#endif
{
CmLListCp *lCp; /* list control pointer */
CmLList *node; /* node to be removed */
#endif
{
- TRC3(cmLListDelFrm);
#ifdef ERRCHK
/* cm_llist_c_001.main_8 : added null check for node */
#ifdef ERRCHK
/* cm_llist_c_001.main_8 : added null check for node */
@@
-377,18
+371,17
@@
CmLList *node; /* node to be removed */
*
--*/
#ifdef ANSI
*
--*/
#ifdef ANSI
-
PUBLIC
Void cmLListCatLList
+Void cmLListCatLList
(
CmLListCp *list1, /*-- list control point --*/
CmLListCp *list2 /*-- node to be added --*/
)
#else
(
CmLListCp *list1, /*-- list control point --*/
CmLListCp *list2 /*-- node to be added --*/
)
#else
-
PUBLIC
Void cmLListCatLList(list1, list2)
+Void cmLListCatLList(list1, list2)
CmLListCp *list1; /*-- list control point --*/
CmLListCp *list2; /*-- node to be added --*/
#endif
{
CmLListCp *list1; /*-- list control point --*/
CmLListCp *list2; /*-- node to be added --*/
#endif
{
- TRC3(cmLListCatLList);
/*-- if the second list is empty nothing to do --*/
if(list2->count == 0)
/*-- if the second list is empty nothing to do --*/
if(list2->count == 0)