AK: Remove redundant declaration in String.cpp

It already includes AK/Memory.h, which includes Kernel/StdLib.h, which.
declares strstr().
This commit is contained in:
Ben Wiederhake 2020-08-16 17:14:11 +02:00 committed by Andreas Kling
parent 638c6b7547
commit 01dabb65f2
Notes: sideshowbarker 2024-07-19 03:15:01 +09:00

View file

@ -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)