aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorDonn Terry <donnte@microsoft.com>2000-06-28 23:36:22 +0000
committerJeff Law <law@gcc.gnu.org>2000-06-28 17:36:22 -0600
commit3153b3b70c358fe8e4db599c2086f1444b2c4d21 (patch)
tree175bf9a7c98d1522f3efc4bcf127b544dc5fa5d6 /gcc/config
parentaf29ef124d6fbeb9c9f9b192cd88d34cbc31a289 (diff)
downloadgcc-3153b3b70c358fe8e4db599c2086f1444b2c4d21.zip
gcc-3153b3b70c358fe8e4db599c2086f1444b2c4d21.tar.gz
gcc-3153b3b70c358fe8e4db599c2086f1444b2c4d21.tar.bz2
* i386-interix.h (STRIP_NAME_ENCODING): Declare _new_name properly.
From-SVN: r34772
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386-interix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h
index b44b5b6..82a9cb8 100644
--- a/gcc/config/i386/i386-interix.h
+++ b/gcc/config/i386/i386-interix.h
@@ -486,7 +486,7 @@ do { \
if (*_p == '@') \
{ \
int _len = _p - _name; \
- _new_name = (char *) alloca (_len + 1); \
+ char *_new_name = (char *) alloca (_len + 1); \
strncpy (_new_name, _name, _len); \
_new_name[_len] = '\0'; \
(VAR) = _new_name; \