diff options
Diffstat (limited to 'StdLib/Include')
-rw-r--r-- | StdLib/Include/Containers/Fifo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/StdLib/Include/Containers/Fifo.h b/StdLib/Include/Containers/Fifo.h index 3b232fec23..69dd55b03e 100644 --- a/StdLib/Include/Containers/Fifo.h +++ b/StdLib/Include/Containers/Fifo.h @@ -151,8 +151,10 @@ typedef size_t (EFIAPI *cFIFO_Flush) (cFIFO *Self, size_t NumToFlush); /** Remove the most recent element from the FIFO.
@param[in] Self Pointer to the FIFO instance.
+
+ @return Returns the number of elements remaining in the FIFO.
**/
-typedef void (EFIAPI *cFIFO_Truncate) (cFIFO *Self);
+typedef size_t (EFIAPI *cFIFO_Truncate) (cFIFO *Self);
/** Cleanly delete a FIFO instance.
|