]> gcc.gnu.org Git - gcc.git/commitdiff
djgpp.h (UNIQUE_SECTION): Constify the variables name and prefix.
authorMark Elbrecht <snowball3@bigfoot.com>
Wed, 27 Sep 2000 04:54:34 +0000 (04:54 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Wed, 27 Sep 2000 04:54:34 +0000 (00:54 -0400)
* config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
name and prefix.

From-SVN: r36651

gcc/ChangeLog
gcc/config/i386/djgpp.h

index 02791b9bffd4469c7f306d0555162e1254c83eb1..6b5b6d2891105a4e0dabfefc9306916cda77ffe7 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-27  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
+       name and prefix.
+
 Tue 26-Sep-2000 18:25:38 BST  Neil Booth  <neilb@earthling.net>
 
        * gcc.c (cpp_options): Add spec for -ftabstop=.
index 762178a7b4804ca39bf80a72b6c3d693521aa7e5..7b05e6692ea2e4e90a78f2c6dcb8eda5a8659172 100644 (file)
@@ -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));      \
                                                                \
This page took 0.755754 seconds and 5 git commands to generate.