aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libgui
diff options
context:
space:
mode:
authorMarvin Borner2020-05-07 22:19:13 +0200
committerMarvin Borner2020-05-07 22:19:13 +0200
commit9b2e28ad7a752c0fe7b60e73ca43c827b45b3ee8 (patch)
tree5b1b48ccf8324cced9ae9c4139b493cd98789cc2 /src/userspace/libgui
parent43184e40b14a5e41383ffb053e7c69c93ff81036 (diff)
Added and applied include-sorting
Worked better than I thought!
Diffstat (limited to 'src/userspace/libgui')
-rw-r--r--src/userspace/libgui/draw.c2
-rw-r--r--src/userspace/libgui/init.c2
-rw-r--r--src/userspace/libgui/util.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/userspace/libgui/draw.c b/src/userspace/libgui/draw.c
index ee35d3c..4576808 100644
--- a/src/userspace/libgui/draw.c
+++ b/src/userspace/libgui/draw.c
@@ -1,6 +1,6 @@
+#include <gui.h>
#include <stdint.h>
#include <stdio.h>
-#include <gui.h>
void gui_draw_rectangle(int x1, int y1, int x2, int y2, const u32 color[3])
{
diff --git a/src/userspace/libgui/init.c b/src/userspace/libgui/init.c
index 04d6b49..2e5d9c5 100644
--- a/src/userspace/libgui/init.c
+++ b/src/userspace/libgui/init.c
@@ -1,7 +1,7 @@
+#include <gui.h>
#include <stdint.h>
#include <stdio.h>
#include <syscall.h>
-#include <gui.h>
struct pointers *pointers;
diff --git a/src/userspace/libgui/util.c b/src/userspace/libgui/util.c
index 5019175..f108822 100644
--- a/src/userspace/libgui/util.c
+++ b/src/userspace/libgui/util.c
@@ -1,5 +1,5 @@
-#include <stdint.h>
#include <gui.h>
+#include <stdint.h>
void gui_convert_color(u32 *color_array, u32 color)
{