[libc-commits] [libc] 9a4c6f9 - [libc][obvious] Removed mbstate_t include (#152046)

via libc-commits libc-commits at lists.llvm.org
Tue Aug 5 09:36:10 PDT 2025


Author: sribee8
Date: 2025-08-05T16:36:07Z
New Revision: 9a4c6f9b3c0ffab783ed0e5373f5106c392426fe

URL: https://github.com/llvm/llvm-project/commit/9a4c6f9b3c0ffab783ed0e5373f5106c392426fe
DIFF: https://github.com/llvm/llvm-project/commit/9a4c6f9b3c0ffab783ed0e5373f5106c392426fe.diff

LOG: [libc][obvious] Removed mbstate_t include (#152046)

Internal function does not use the external mbstate_t but still had the
include for it.

Co-authored-by: Sriya Pratipati <sriyap at google.com>

Added: 
    

Modified: 
    libc/src/__support/wchar/mbrtowc.cpp

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/wchar/mbrtowc.cpp b/libc/src/__support/wchar/mbrtowc.cpp
index 0f730d6e6dbec..66cc68e791d99 100644
--- a/libc/src/__support/wchar/mbrtowc.cpp
+++ b/libc/src/__support/wchar/mbrtowc.cpp
@@ -8,7 +8,6 @@
 
 #include "src/__support/wchar/mbrtowc.h"
 #include "hdr/errno_macros.h"
-#include "hdr/types/mbstate_t.h"
 #include "hdr/types/size_t.h"
 #include "hdr/types/wchar_t.h"
 #include "src/__support/common.h"


        


More information about the libc-commits mailing list