summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGert Hulselmans <gerth@zytor.com>2010-07-19 23:37:02 +0200
committerGert Hulselmans <gerth@zytor.com>2010-07-19 23:37:02 +0200
commit24167637986174cab27395b76127cf8a82bf2b05 (patch)
treedccfa5dd20455cf5e985d4cc1a478a8b38542961
parentc607c38d70da3abff60eb941b2a9b79b4746ffc2 (diff)
downloadsyslinux-lua.tar.gz
syslinux-lua.tar.xz
syslinux-lua.zip
lua: cleanup included header files in vesa.c and syslinux.clua
Cleanup included header files in vesa.c and syslinux.c. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
-rw-r--r--com32/lua/src/syslinux.c7
-rw-r--r--com32/lua/src/vesa.c8
2 files changed, 5 insertions, 10 deletions
diff --git a/com32/lua/src/syslinux.c b/com32/lua/src/syslinux.c
index fa54d7f1..2b7372e4 100644
--- a/com32/lua/src/syslinux.c
+++ b/com32/lua/src/syslinux.c
@@ -29,16 +29,15 @@
#include <string.h>
#include <unistd.h>
#include <syslinux/boot.h>
+#include <syslinux/loadfile.h>
+#include <syslinux/config.h>
+#include <syslinux/linux.h>
#define lnetlib_c /* Define the library */
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
-#include "syslinux/boot.h"
-#include "syslinux/loadfile.h"
-#include "syslinux/linux.h"
-#include "syslinux/config.h"
int __parse_argv(char ***argv, const char *str);
diff --git a/com32/lua/src/vesa.c b/com32/lua/src/vesa.c
index 6f34820a..9df8c794 100644
--- a/com32/lua/src/vesa.c
+++ b/com32/lua/src/vesa.c
@@ -1,14 +1,10 @@
#include <stdlib.h>
#include <string.h>
-
+#include <console.h>
+#include "../../lib/sys/vesa/video.h"
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
-#include "../../include/console.h"
-#include "../../lib/sys/vesa/vesa.h"
-#include "../../lib/sys/vesa/video.h"
-
-int vesacon_load_background(const char *filename);
static int __constfunc is_power_of_2(unsigned int x)
{