From: Mark Elbrecht Date: Wed, 27 Sep 2000 04:54:34 +0000 (+0000) Subject: djgpp.h (UNIQUE_SECTION): Constify the variables name and prefix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15ca066dde069c6453cc87ff36be3a0c580b8c69;p=gcc.git djgpp.h (UNIQUE_SECTION): Constify the variables name and prefix. * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables name and prefix. From-SVN: r36651 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02791b9bffd..6b5b6d28911 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-09-27 Mark Elbrecht + + * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables + name and prefix. + Tue 26-Sep-2000 18:25:38 BST Neil Booth * gcc.c (cpp_options): Add spec for -ftabstop=. diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 762178a7b48..7b05e6692ea 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -266,7 +266,8 @@ dtor_section () \ #define UNIQUE_SECTION(DECL,RELOC) \ do { \ int len; \ - char *name, *string, *prefix; \ + const char *name, *prefix; \ + char *string; \ \ name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL)); \ \