projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340ccaa
)
*** empty log message ***
author
Tom Wood
<wood@gnu.org>
Tue, 3 Mar 1992 20:37:08 +0000
(20:37 +0000)
committer
Tom Wood
<wood@gnu.org>
Tue, 3 Mar 1992 20:37:08 +0000
(20:37 +0000)
From-SVN: r384
gcc/protoize.c
patch
|
blob
|
history
diff --git
a/gcc/protoize.c
b/gcc/protoize.c
index 67e51ddc12a17836090a2fe844b87428aee5ed54..7370997072bc3e8a9b86106b75544a07bf259524 100644
(file)
--- a/
gcc/protoize.c
+++ b/
gcc/protoize.c
@@
-1894,7
+1894,8
@@
static void
munge_compile_params (params_list)
const char *params_list;
{
- char **temp_params = (char **) alloca (strlen (params_list) + 10);
+ char **temp_params
+ = (char **) alloca ((strlen (params_list) + 6) * sizeof (char *));
int param_count = 0;
const char *param;