diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-23 01:43:04 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-23 01:43:04 +0000 |
commit | 80151e53310a3ef57e85ac1efc4f843d0a1c0824 (patch) | |
tree | 0680c582eb22587c4854e28d8584eb2b555f9167 /MdePkg/Library/BaseLib/LinkedList.c | |
parent | 88e349f1feaa7a9963cc044e8e815db4eed198bf (diff) | |
download | edk2-platforms-80151e53310a3ef57e85ac1efc4f843d0a1c0824.tar.xz |
Rename BaseLib internal functions by adding InternalBaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8980 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/LinkedList.c')
-rw-r--r-- | MdePkg/Library/BaseLib/LinkedList.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/MdePkg/Library/BaseLib/LinkedList.c b/MdePkg/Library/BaseLib/LinkedList.c index 8069bd3550..62b6c36478 100644 --- a/MdePkg/Library/BaseLib/LinkedList.c +++ b/MdePkg/Library/BaseLib/LinkedList.c @@ -37,7 +37,7 @@ **/
BOOLEAN
EFIAPI
-IsNodeInList (
+InternalBaseLibIsNodeInList (
IN CONST LIST_ENTRY *List,
IN CONST LIST_ENTRY *Node
)
@@ -136,7 +136,7 @@ InsertHeadList ( //
// ASSERT List not too long and Entry is not one of the nodes of List
//
- ASSERT (!IsNodeInList (ListHead, Entry));
+ ASSERT (!InternalBaseLibIsNodeInList (ListHead, Entry));
Entry->ForwardLink = ListHead->ForwardLink;
Entry->BackLink = ListHead;
@@ -177,7 +177,7 @@ InsertTailList ( //
// ASSERT List not too long and Entry is not one of the nodes of List
//
- ASSERT (!IsNodeInList (ListHead, Entry));
+ ASSERT (!InternalBaseLibIsNodeInList (ListHead, Entry));
Entry->ForwardLink = ListHead;
Entry->BackLink = ListHead->BackLink;
@@ -215,7 +215,7 @@ GetFirstNode ( //
// ASSERT List not too long
//
- ASSERT (IsNodeInList (List, List));
+ ASSERT (InternalBaseLibIsNodeInList (List, List));
return List->ForwardLink;
}
@@ -252,7 +252,7 @@ GetNextNode ( //
// ASSERT List not too long and Node is one of the nodes of List
//
- ASSERT (IsNodeInList (List, Node));
+ ASSERT (InternalBaseLibIsNodeInList (List, Node));
return Node->ForwardLink;
}
@@ -285,7 +285,7 @@ IsListEmpty ( //
// ASSERT List not too long
//
- ASSERT (IsNodeInList (ListHead, ListHead));
+ ASSERT (InternalBaseLibIsNodeInList (ListHead, ListHead));
return (BOOLEAN)(ListHead->ForwardLink == ListHead);
}
@@ -325,7 +325,7 @@ IsNull ( //
// ASSERT List not too long and Node is one of the nodes of List
//
- ASSERT (IsNodeInList (List, Node));
+ ASSERT (InternalBaseLibIsNodeInList (List, Node));
return (BOOLEAN)(Node == List);
}
@@ -363,7 +363,7 @@ IsNodeAtEnd ( //
// ASSERT List not too long and Node is one of the nodes of List
//
- ASSERT (IsNodeInList (List, Node));
+ ASSERT (InternalBaseLibIsNodeInList (List, Node));
return (BOOLEAN)(!IsNull (List, Node) && List->BackLink == Node);
}
@@ -409,7 +409,7 @@ SwapListEntries ( //
// ASSERT Entry1 and Entry2 are in the same linked list
//
- ASSERT (IsNodeInList (FirstEntry, SecondEntry));
+ ASSERT (InternalBaseLibIsNodeInList (FirstEntry, SecondEntry));
//
// Ptr is the node pointed to by FirstEntry->ForwardLink
|