[libc-commits] [libc] [libc][obvious] Fixed typos in some wchar headers (PR #146413)
via libc-commits
libc-commits at lists.llvm.org
Mon Jun 30 12:54:48 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: None (sribee8)
<details>
<summary>Changes</summary>
Some of the wchar headers had typos in them.
---
Full diff: https://github.com/llvm/llvm-project/pull/146413.diff
2 Files Affected:
- (modified) libc/src/wchar/wcpncpy.h (+1-1)
- (modified) libc/src/wchar/wcsspn.h (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/146413
More information about the libc-commits
mailing list