summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-08-16 17:14:11 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-24 00:45:03 +0200
commit01dabb65f2ef7fd07d1d0738d35f8192fa6d7fad (patch)
treeda3035b157440733cafe107f962b0fbdcb927c75
parent638c6b754767db66fe444a9a695e683450067a43 (diff)
downloadserenity-01dabb65f2ef7fd07d1d0738d35f8192fa6d7fad.zip
AK: Remove redundant declaration in String.cpp
It already includes AK/Memory.h, which includes Kernel/StdLib.h, which. declares strstr().
-rw-r--r--AK/String.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/AK/String.cpp b/AK/String.cpp
index 0be8c0fd99..ab7f3dbcc0 100644
--- a/AK/String.cpp
+++ b/AK/String.cpp
@@ -36,10 +36,6 @@
# include <inttypes.h>
#endif
-#ifdef KERNEL
-extern "C" char* strstr(const char* haystack, const char* needle);
-#endif
-
namespace AK {
String::String(const StringView& view)