[libc-commits] [libc] 7859242 - [libc] [Obvious] Remove unneeded header in strchr.
via libc-commits
libc-commits at lists.llvm.org
Fri Jul 10 16:34:57 PDT 2020
Author: cgyurgyik
Date: 2020-07-10T19:33:55-04:00
New Revision: 7859242a3713eb84b57430625b2a70efe30efbf2
URL: https://github.com/llvm/llvm-project/commit/7859242a3713eb84b57430625b2a70efe30efbf2
DIFF: https://github.com/llvm/llvm-project/commit/7859242a3713eb84b57430625b2a70efe30efbf2.diff
LOG: [libc] [Obvious] Remove unneeded header in strchr.
Reviewers: sivachandra
Reviewed By: sivachandra
Subscribers: mgorny, tschuett, ecnelises, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D83589
Added:
Modified:
libc/src/string/CMakeLists.txt
libc/src/string/strchr.cpp
Removed:
################################################################################
diff --git a/libc/src/string/CMakeLists.txt b/libc/src/string/CMakeLists.txt
index 8d22a1390060..c8e1e4dfa39f 100644
--- a/libc/src/string/CMakeLists.txt
+++ b/libc/src/string/CMakeLists.txt
@@ -58,8 +58,6 @@ add_entrypoint_object(
strchr.cpp
HDRS
strchr.h
- DEPENDS
- .strlen
)
# Helper to define a function with multiple implementations
diff --git a/libc/src/string/strchr.cpp b/libc/src/string/strchr.cpp
index 73dc7e7b1c96..eac0e512a8fb 100644
--- a/libc/src/string/strchr.cpp
+++ b/libc/src/string/strchr.cpp
@@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
#include "src/string/strchr.h"
-#include "src/string/strlen.h"
#include "src/__support/common.h"
More information about the libc-commits
mailing list