summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dln.c b/dln.c
index 9fd605e32e..3a99708618 100644
--- a/dln.c
+++ b/dln.c
@@ -636,7 +636,7 @@ load_1(fd, disp, need_init)
long disp;
const char *need_init;
{
- static char *libc = LIBC_NAME;
+ static const char *libc = LIBC_NAME;
struct exec hdr;
struct relocation_info *reloc = NULL;
long block = 0;
@@ -1791,7 +1791,7 @@ dln_find_1(fname, path, exe_flag)
#endif
#if defined(DOSISH)
if (exe_flag) {
- static const char *extension[] = {
+ static const char *const extension[] = {
#if defined(MSDOS)
".com", ".exe", ".bat",
#if defined(DJGPP)