diff options
| author | grischka <grischka> | 2009-07-18 22:07:42 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2009-07-18 22:07:42 +0200 |
| commit | c998985c744549292ba4abe077aee3950548b083 (patch) | |
| tree | 671d8f2e10ae9c691d3301a76a29b306e6b4020a /tccelf.c | |
| parent | 94ae3984b0d4d3d78975d3bd48810cd5b6381618 (diff) | |
| download | tinycc-c998985c744549292ba4abe077aee3950548b083.tar.gz tinycc-c998985c744549292ba4abe077aee3950548b083.tar.bz2 | |
cleanup: constify some global data
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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, |
