Meta: Replace remaining LibM/math.h includes with math.h

This commit is contained in:
Linus Groh 2020-08-12 10:44:45 +02:00 committed by Andreas Kling
parent 7390098adc
commit 7072806234
Notes: sideshowbarker 2024-07-19 03:43:25 +09:00
17 changed files with 17 additions and 16 deletions

View file

@ -31,7 +31,7 @@
#include <LibGUI/Menu.h>
#include <LibGUI/Painter.h>
#include <LibGfx/Rect.h>
#include <LibM/math.h>
#include <math.h>
namespace PixelPaint {

View file

@ -30,7 +30,7 @@
#include <LibGUI/Action.h>
#include <LibGUI/Menu.h>
#include <LibGUI/Painter.h>
#include <LibM/math.h>
#include <math.h>
namespace PixelPaint {

View file

@ -31,7 +31,7 @@
#include <LibGUI/Menu.h>
#include <LibGUI/Painter.h>
#include <LibGfx/Rect.h>
#include <LibM/math.h>
#include <math.h>
namespace PixelPaint {

View file

@ -33,7 +33,7 @@
#include <LibGUI/Menu.h>
#include <LibGUI/Painter.h>
#include <LibGfx/Bitmap.h>
#include <LibM/math.h>
#include <math.h>
#include <stdio.h>
namespace PixelPaint {

View file

@ -27,7 +27,7 @@
#include "SampleWidget.h"
#include <LibAudio/Buffer.h>
#include <LibGUI/Painter.h>
#include <LibM/math.h>
#include <math.h>
SampleWidget::SampleWidget()
{

View file

@ -30,7 +30,7 @@
#include <LibGUI/Button.h>
#include <LibGUI/Label.h>
#include <LibGUI/MessageBox.h>
#include <LibM/math.h>
#include <math.h>
SoundPlayerWidget::SoundPlayerWidget(GUI::Window& window, NonnullRefPtr<Audio::ClientConnection> connection)
: m_window(window)

View file

@ -157,6 +157,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG -DSANITIZE_PTRS")
add_link_options(--sysroot ${CMAKE_BINARY_DIR}/Root)
include_directories(Libraries/LibC)
include_directories(Libraries/LibM)
include_directories(Services)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/Services)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/Libraries)

View file

@ -30,7 +30,7 @@
#include <AK/String.h>
#include <LibGfx/Orientation.h>
#include <LibGfx/Point.h>
#include <LibM/math.h>
#include <math.h>
namespace Gfx {

View file

@ -30,7 +30,7 @@
#include <AK/MappedFile.h>
#include <AK/NonnullOwnPtrVector.h>
#include <LibGfx/GIFLoader.h>
#include <LibM/math.h>
#include <math.h>
#include <stdio.h>
#include <string.h>

View file

@ -32,7 +32,7 @@
#include <AK/Types.h>
#include <LibGfx/ICOLoader.h>
#include <LibGfx/PNGLoader.h>
#include <LibM/math.h>
#include <math.h>
#include <stdio.h>
#include <string.h>

View file

@ -33,7 +33,7 @@
#include <AK/Vector.h>
#include <LibGfx/Bitmap.h>
#include <LibGfx/JPGLoader.h>
#include <Libraries/LibM/math.h>
#include <math.h>
#define JPG_DBG 0
#define jpg_dbg(x) \

View file

@ -30,8 +30,8 @@
#include <AK/NetworkOrdered.h>
#include <LibCore/puff.h>
#include <LibGfx/PNGLoader.h>
#include <LibM/math.h>
#include <fcntl.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <sys/mman.h>

View file

@ -31,7 +31,7 @@
#include <LibGfx/Orientation.h>
#include <LibGfx/Forward.h>
#include <LibIPC/Forward.h>
#include <LibM/math.h>
#include <math.h>
#include <stdlib.h>
namespace Gfx {

View file

@ -30,7 +30,7 @@
#include <LibGfx/Point.h>
#include <LibGfx/Size.h>
#include <LibGfx/TextAlignment.h>
#include <LibM/math.h>
#include <math.h>
namespace Gfx {

View file

@ -25,7 +25,7 @@
*/
#include <LibC/assert.h>
#include <LibM/math.h>
#include <math.h>
#include <stdint.h>
#include <stdlib.h>

View file

@ -33,8 +33,8 @@
#include <LibCore/DirIterator.h>
#include <LibCore/File.h>
#include <LibCore/Object.h>
#include <LibM/math.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>

View file

@ -38,9 +38,9 @@
#include <LibCore/File.h>
#include <LibDebug/DebugSession.h>
#include <LibELF/Image.h>
#include <LibM/math.h>
#include <LibX86/Disassembler.h>
#include <LibX86/Instruction.h>
#include <math.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>