aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorTom Wood <wood@gnu.org>1992-03-03 20:37:08 +0000
committerTom Wood <wood@gnu.org>1992-03-03 20:37:08 +0000
commit6cac1ab0524c41971f7675bec4bb719362924c44 (patch)
tree70fde07b6c6031345adbfb790fbdf8d13211913b /gcc/protoize.c
parent340ccaabe2834fc58edcc0c8d1aec5d29437e333 (diff)
downloadgcc-6cac1ab0524c41971f7675bec4bb719362924c44.zip
gcc-6cac1ab0524c41971f7675bec4bb719362924c44.tar.gz
gcc-6cac1ab0524c41971f7675bec4bb719362924c44.tar.bz2
*** empty log message ***
From-SVN: r384
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 67e51dd..7370997 100644
--- 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;