aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/elflink/ldlinux/readconfig.c4
-rw-r--r--core/conio.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index 22efbe43..86310291 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -764,8 +764,8 @@ extern void sirq_cleanup_nowipe(void);
extern void sirq_install(void);
extern void write_serial_str(char *);
-extern void loadfont(char *);
-extern void loadkeys(char *);
+extern void loadfont(const char *);
+extern void loadkeys(const char *);
extern char syslinux_banner[];
extern char copyright_str[];
diff --git a/core/conio.c b/core/conio.c
index d3428338..d1aa7d4c 100644
--- a/core/conio.c
+++ b/core/conio.c
@@ -53,7 +53,7 @@ uint8_t ScrollAttribute = 0x07; /* Grey on white (normal text color) */
*
* Returns 0 on success, or -1 on error.
*/
-__export int loadkeys(char *filename)
+__export int loadkeys(const char *filename)
{
FILE *f;