From c998985c744549292ba4abe077aee3950548b083 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 18 Jul 2009 22:07:42 +0200 Subject: cleanup: constify some global data --- tccelf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tccelf.c') diff --git a/tccelf.c b/tccelf.c index 826e8e0..e114f42 100644 --- a/tccelf.c +++ b/tccelf.c @@ -1283,15 +1283,15 @@ static void tcc_add_linker_symbols(TCCState *s1) /* name of ELF interpreter */ #if defined __FreeBSD__ -static char elf_interp[] = "/usr/libexec/ld-elf.so.1"; +static const char elf_interp[] = "/usr/libexec/ld-elf.so.1"; #elif defined TCC_ARM_EABI -static char elf_interp[] = "/lib/ld-linux.so.3"; +static const char elf_interp[] = "/lib/ld-linux.so.3"; #elif defined(TCC_TARGET_X86_64) -static char elf_interp[] = "/lib/ld-linux-x86-64.so.2"; +static const char elf_interp[] = "/lib/ld-linux-x86-64.so.2"; #elif defined(TCC_UCLIBC) -static char elf_interp[] = "/lib/ld-uClibc.so.0"; +static const char elf_interp[] = "/lib/ld-uClibc.so.0"; #else -static char elf_interp[] = "/lib/ld-linux.so.2"; +static const char elf_interp[] = "/lib/ld-linux.so.2"; #endif static void tcc_output_binary(TCCState *s1, FILE *f, -- cgit v1.3.1