aboutsummaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-08-17 09:08:32 +0000
committerJeff Law <law@gcc.gnu.org>1998-08-17 03:08:32 -0600
commit804a4e13f8c8f010adf3db2a0f20e424d4edc0e0 (patch)
treec0d16a636f0f4c2d062c0b66f041163db8541aeb /gcc/prefix.c
parentf5220a5dd39feb469be2bf80a5b455e2ce766f5e (diff)
downloadgcc-804a4e13f8c8f010adf3db2a0f20e424d4edc0e0.zip
gcc-804a4e13f8c8f010adf3db2a0f20e424d4edc0e0.tar.gz
gcc-804a4e13f8c8f010adf3db2a0f20e424d4edc0e0.tar.bz2
c-decl.c (init_decl_processing): Remove unneeded &.
* c-decl.c (init_decl_processing): Remove unneeded &. * alpha.h (alpha_initialize_trampoline): Provide prototype. * except.c (set_exception_lang_code, set_exception_version_code): Change parameter from `short' to `int' to avoid using a gcc extension. * except.h (set_exception_lang_code, set_exception_version_code): Likewise for prototypes. * flow.c (count_reg_references): Remove unused variables `regno' and `i'. * gcse.c (hash_scan_insn): Declare parameter `in_libcall_block'. * prefix.c (translate_name): Cast the result of `alloca'. * varray.h (VARRAY_FREE): Reimplement as a `do-while(0)' statement. Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r21781
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index 1c96c58..06b0610 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -255,7 +255,7 @@ translate_name (name)
keylen++)
;
- key = alloca (keylen + 1);
+ key = (char *) alloca (keylen + 1);
strncpy (key, &name[1], keylen);
key[keylen] = 0;