Change RTL::LinkedList::RemoveEntryList() routine signature

Este commit está contenido en:
2026-02-10 18:24:26 +01:00
padre 874d303f83
commit edb40dd62b
Se han modificado 4 ficheros con 11 adiciones y 7 borrados

Ver fichero

@@ -221,7 +221,7 @@ RtlMultiplyLargeInteger(IN LARGE_INTEGER Multiplicand,
XTCLINK
XTCDECL
VOID
BOOLEAN
RtlRemoveEntryList(IN PLIST_ENTRY Entry);
XTCLINK

Ver fichero

@@ -26,7 +26,7 @@ namespace RTL
IN PLIST_ENTRY Entry);
STATIC XTCDECL BOOLEAN ListEmpty(IN PLIST_ENTRY ListHead);
STATIC XTCDECL BOOLEAN ListLoop(IN PLIST_ENTRY ListHead);
STATIC XTCDECL VOID RemoveEntryList(IN PLIST_ENTRY Entry);
STATIC XTCDECL BOOLEAN RemoveEntryList(IN PLIST_ENTRY Entry);
};
}

Ver fichero

@@ -763,16 +763,16 @@ RtlMultiplyLargeInteger(IN LARGE_INTEGER Multiplicand,
* @param Entry
* Pointer to the entry that will be removed from the list.
*
* @return This routine does not return any value.
* @return This routine returns TRUE if the list is empty after removal, or FALSE otherwise.
*
* @since XT 1.0
*/
XTCLINK
XTCDECL
VOID
BOOLEAN
RtlRemoveEntryList(IN PLIST_ENTRY Entry)
{
RTL::LinkedList::RemoveEntryList(Entry);
return RTL::LinkedList::RemoveEntryList(Entry);
}
/**

Ver fichero

@@ -162,14 +162,18 @@ RTL::LinkedList::ListLoop(IN PLIST_ENTRY ListHead)
* @param Entry
* Pointer to the entry that will be removed from the list.
*
* @return This routine does not return any value.
* @return This routine returns TRUE if the list is empty after removal, or FALSE otherwise.
*
* @since XT 1.0
*/
XTCDECL
VOID
BOOLEAN
RTL::LinkedList::RemoveEntryList(IN PLIST_ENTRY Entry)
{
/* Remove entry from the list */
Entry->Flink->Blink = Entry->Blink;
Entry->Blink->Flink = Entry->Flink;
/* Return TRUE if list is empty, or FALSE otherwise */
return (BOOLEAN)(Entry->Blink == Entry->Flink);
}