]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/Containers/Fifo.h
StdLib: Correct two instances of mismatch between function declaration and definition...
[mirror_edk2.git] / StdLib / Include / Containers / Fifo.h
index 3b232fec23b00a719bf11741bafeebe707eabe1f..69dd55b03e16b4333bbc94998cec420087f45aef 100644 (file)
@@ -151,8 +151,10 @@ typedef size_t     (EFIAPI *cFIFO_Flush)   (cFIFO *Self, size_t NumToFlush);
 /** Remove the most recent element from the FIFO.\r
 \r
     @param[in]    Self              Pointer to the FIFO instance.\r
+\r
+    @return     Returns the number of elements remaining in the FIFO.\r
 **/\r
-typedef void        (EFIAPI *cFIFO_Truncate)  (cFIFO *Self);\r
+typedef size_t        (EFIAPI *cFIFO_Truncate)  (cFIFO *Self);\r
 \r
 /** Cleanly delete a FIFO instance.\r
 \r