LibC: Remove an unneeded string.h include in ctype.h/cpp

And include string.h in the files that actually needed it
This commit is contained in:
Benoit Lormeau 2020-09-27 12:23:52 +02:00 committed by Andreas Kling
parent e4da2875c5
commit f158cb27ea
5 changed files with 3 additions and 3 deletions

View file

@ -32,9 +32,9 @@
#include <LibGUI/MessageBox.h>
#include <LibGUI/RadioButton.h>
#include <LibKeyboard/CharacterMapFile.h>
#include <ctype.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
KeyboardMapperWidget::KeyboardMapperWidget()
{

View file

@ -25,7 +25,6 @@
*/
#include <ctype.h>
#include <string.h>
extern "C" {

View file

@ -26,7 +26,6 @@
#pragma once
#include <string.h>
#include <sys/cdefs.h>
__BEGIN_DECLS

View file

@ -32,6 +32,7 @@
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define PARSE_ASSERT(x) \
if (!(x)) { \

View file

@ -28,6 +28,7 @@
#include <ctype.h>
#include <pwd.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>