Lines 1-37
Link Here
|
1 |
--- libinstaller/syslinux.h.orig 2013-10-13 19:59:03.000000000 +0200 |
1 |
--- libinstaller/syslinux.h.orig 2014-10-06 18:27:44.000000000 +0200 |
2 |
+++ libinstaller/syslinux.h 2014-09-29 05:30:55.000000000 +0200 |
2 |
+++ libinstaller/syslinux.h 2014-10-21 23:58:17.000000000 +0200 |
3 |
@@ -13,20 +13,21 @@ |
3 |
@@ -13,6 +13,7 @@ |
4 |
#ifndef SYSLINUX_H |
4 |
#ifndef SYSLINUX_H |
5 |
#define SYSLINUX_H |
5 |
#define SYSLINUX_H |
6 |
|
6 |
|
7 |
+#include <sys/types.h> |
7 |
+#include <unistd.h> |
8 |
#include <inttypes.h> |
8 |
#include <inttypes.h> |
9 |
#include "advconst.h" |
9 |
#include "advconst.h" |
10 |
#include "setadv.h" |
10 |
#include "setadv.h" |
|
|
11 |
@@ -26,15 +27,15 @@ |
12 |
#endif |
11 |
|
13 |
|
12 |
/* The standard boot sector and ldlinux image */ |
14 |
/* The standard boot sector and ldlinux image */ |
13 |
-extern unsigned char syslinux_bootsect[]; |
15 |
-extern unsigned char syslinux_bootsect[]; |
14 |
+extern unsigned char *syslinux_bootsect; |
16 |
+extern unsigned char* syslinux_bootsect; |
15 |
extern const unsigned int syslinux_bootsect_len; |
17 |
extern const unsigned int syslinux_bootsect_len; |
16 |
extern const int syslinux_bootsect_mtime; |
18 |
extern const int syslinux_bootsect_mtime; |
17 |
|
19 |
|
18 |
-extern unsigned char syslinux_ldlinux[]; |
20 |
-extern unsigned char _slimg syslinux_ldlinux[]; |
19 |
-extern const unsigned int syslinux_ldlinux_len; |
21 |
-extern const unsigned int syslinux_ldlinux_len; |
20 |
+extern unsigned char *syslinux_ldlinux; |
22 |
+extern unsigned char* _slimg syslinux_ldlinux; |
21 |
+extern unsigned int syslinux_ldlinux_len; |
23 |
+extern unsigned int syslinux_ldlinux_len; |
22 |
extern const int syslinux_ldlinux_mtime; |
24 |
extern const int syslinux_ldlinux_mtime; |
23 |
|
25 |
|
24 |
-extern unsigned char syslinux_ldlinuxc32[]; |
26 |
-extern unsigned char _slimg syslinux_ldlinuxc32[]; |
25 |
+extern unsigned char *syslinux_ldlinuxc32; |
27 |
+extern unsigned char* _slimg syslinux_ldlinuxc32; |
26 |
extern const unsigned int syslinux_ldlinuxc32_len; |
28 |
extern const unsigned int syslinux_ldlinuxc32_len; |
27 |
|
29 |
|
28 |
#define boot_sector syslinux_bootsect |
30 |
#define boot_sector syslinux_bootsect |
29 |
@@ -34,7 +35,7 @@ |
31 |
@@ -42,7 +43,7 @@ |
30 |
#define boot_image syslinux_ldlinux |
32 |
#define boot_image syslinux_ldlinux |
31 |
#define boot_image_len syslinux_ldlinux_len |
33 |
#define boot_image_len syslinux_ldlinux_len |
32 |
|
34 |
|
33 |
-extern unsigned char syslinux_mbr[]; |
35 |
-extern unsigned char syslinux_mbr[]; |
34 |
+extern unsigned char *syslinux_mbr; |
36 |
+extern unsigned char* syslinux_mbr; |
35 |
extern const unsigned int syslinux_mbr_len; |
37 |
extern const unsigned int syslinux_mbr_len; |
36 |
extern const int syslinux_mbr_mtime; |
38 |
extern const int syslinux_mbr_mtime; |
37 |
|
39 |
|