From 01dabb65f2ef7fd07d1d0738d35f8192fa6d7fad Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sun, 16 Aug 2020 17:14:11 +0200 Subject: [PATCH] AK: Remove redundant declaration in String.cpp It already includes AK/Memory.h, which includes Kernel/StdLib.h, which. declares strstr(). --- AK/String.cpp | 4 ---- 1 file changed, 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 #endif -#ifdef KERNEL -extern "C" char* strstr(const char* haystack, const char* needle); -#endif - namespace AK { String::String(const StringView& view)