summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-17 09:08:32 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-17 09:08:32 +0000
commitac247d85913e4a5285c158ff0ae9aafd4d7a1a9e (patch)
treec0d16a636f0f4c2d062c0b66f041163db8541aeb /gcc/prefix.c
parent6c82faf15f0daaa941bda569b791122b906ff92f (diff)
downloadgcc-ac247d85913e4a5285c158ff0ae9aafd4d7a1a9e.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21781 138bc75d-0d04-0410-961f-82ee72b054a4
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 1c96c58e54a..06b0610871b 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;