[libc-commits] [libc] 81c9a1a - [libc][obvious] Fixed typos in some wchar headers (#146413)

via libc-commits libc-commits at lists.llvm.org
Mon Jun 30 13:22:09 PDT 2025


Author: sribee8
Date: 2025-06-30T20:22:05Z
New Revision: 81c9a1a4e51061bbf390185a1c642d66036d296b

URL: https://github.com/llvm/llvm-project/commit/81c9a1a4e51061bbf390185a1c642d66036d296b
DIFF: https://github.com/llvm/llvm-project/commit/81c9a1a4e51061bbf390185a1c642d66036d296b.diff

LOG: [libc][obvious] Fixed typos in some wchar headers (#146413)

Some of the wchar headers had typos in them.

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

Added: 
    

Modified: 
    libc/src/wchar/wcpncpy.h
    libc/src/wchar/wcsspn.h

Removed: 
    


################################################################################
diff  --git a/libc/src/wchar/wcpncpy.h b/libc/src/wchar/wcpncpy.h
index d817239d2d0b1..1f67cd46f7753 100644
--- a/libc/src/wchar/wcpncpy.h
+++ b/libc/src/wchar/wcpncpy.h
@@ -20,4 +20,4 @@ wchar_t *wcpncpy(wchar_t *__restrict ws1, const wchar_t *__restrict ws2,
 
 } // namespace LIBC_NAMESPACE_DECL
 
-#endif // LLVM_LIBC_SRC_WCHAR_WCPNsCPY_H
+#endif // LLVM_LIBC_SRC_WCHAR_WCPNCPY_H

diff  --git a/libc/src/wchar/wcsspn.h b/libc/src/wchar/wcsspn.h
index 6dbe65d9a4a98..6e21cbe594574 100644
--- a/libc/src/wchar/wcsspn.h
+++ b/libc/src/wchar/wcsspn.h
@@ -19,4 +19,4 @@ size_t wcsspn(const wchar_t *s1, const wchar_t *s2);
 
 } // namespace LIBC_NAMESPACE_DECL
 
-#endif // LLVM_LIBC_SRC_WCHAR_WCSCHR_H
+#endif // LLVM_LIBC_SRC_WCHAR_WCSSPN_H


        


More information about the libc-commits mailing list