serenity/Tests
Ben Wiederhake 6b7ce19161 Everywhere: Remove unused includes of LibC/stdlib.h
These instances were detected by searching for files that include
stdlib.h, but don't match the regex:

\\b(_abort|abort|abs|aligned_alloc|arc4random|arc4random_buf|arc4random_
uniform|atexit|atof|atoi|atol|atoll|bsearch|calloc|clearenv|div|div_t|ex
it|_Exit|EXIT_FAILURE|EXIT_SUCCESS|free|getenv|getprogname|grantpt|labs|
ldiv|ldiv_t|llabs|lldiv|lldiv_t|malloc|malloc_good_size|malloc_size|mble
n|mbstowcs|mbtowc|mkdtemp|mkstemp|mkstemps|mktemp|posix_memalign|posix_o
penpt|ptsname|ptsname_r|putenv|qsort|qsort_r|rand|RAND_MAX|random|reallo
c|realpath|secure_getenv|serenity_dump_malloc_stats|serenity_setenv|sete
nv|setprogname|srand|srandom|strtod|strtof|strtol|strtold|strtoll|strtou
l|strtoull|system|unlockpt|unsetenv|wcstombs|wctomb)\\b

(Without the linebreaks.)

This regex is pessimistic, so there might be more files that don't
actually use anything from the stdlib.

In theory, one might use LibCPP to detect things like this
automatically, but let's do this one step after another.
2023-01-02 20:27:20 -05:00
..
AK Everywhere: Remove unused includes of AK/StdLibExtras.h 2023-01-02 20:27:20 -05:00
Kernel Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
LibAudio Everywhere: Stop shoving things into ::std and mentioning them as such 2022-12-14 11:44:32 +01:00
LibC Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
LibCompress LibCore: Rename MemoryStream to FixedMemoryStream 2022-12-15 13:28:29 +00:00
LibCore Everywhere: Fix badly-formatted includes 2023-01-02 11:06:15 -05:00
LibCpp LibCore: Propagate errors from Stream::*_entire_buffer 2022-12-12 14:16:42 +01:00
LibCrypto LibCrypto: Don't crash in ASN1::parse_generalized_time on missing 'Z' 2022-12-31 23:21:17 +01:00
LibEDID LibEDID: Fix handling extension maps 2022-01-24 19:29:06 +00:00
LibELF AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibGfx Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
LibGL LibGL: Implement GL_TEXTURE_ENV_COLOR 2023-01-01 23:33:26 +01:00
LibIMAP Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibJS Meta+test262-runner: Check for signature of __assert_fail in CMake 2022-12-20 11:04:05 +01:00
LibLocale AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibMarkdown LibCore: Propagate errors from Stream::*_entire_buffer 2022-12-12 14:16:42 +01:00
LibPDF AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibRegex Everywhere: Move AK/Debug.h include to using files or remove 2023-01-02 20:27:20 -05:00
LibSQL LibSQL: Add parsing and evaluation of BOOLEAN type literals 2023-01-01 10:16:55 +00:00
LibTest LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
LibTextCodec Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibThreading Tests: Update thread tests and make them pass 2022-12-11 19:07:20 -07:00
LibTimeZone LibTimeZone+LibJS: Update to TZDB version 2022e 2022-10-18 16:01:44 +02:00
LibTLS LibCore: Propagate errors from Stream::*_entire_buffer 2022-12-12 14:16:42 +01:00
LibTTF LibGfx: Rename TTF/TrueType to OpenType 2022-12-21 08:44:22 +01:00
LibUnicode LibUnicode: Update code point ideographic replacements for Unicode 15 2022-10-07 18:17:40 +01:00
LibVideo LibVideo: Read Matroska lazily so that large files can start quickly 2022-11-25 23:28:39 +01:00
LibWasm test-wasm: Don't cast signed values to unsigned types in wasm_invoke 2022-12-25 07:58:58 -07:00
LibWeb Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibXML Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Spreadsheet Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
UserspaceEmulator Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
CMakeLists.txt Tests: Remove i686 support 2022-12-28 11:53:41 +01:00