Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6f4870cf
Commit
6f4870cf
authored
32 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r975
parent
4f7113af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/protoize.c
+4
-4
No files found.
gcc/protoize.c
View file @
6f4870cf
...
...
@@ -646,7 +646,7 @@ xfree (p)
static
char
*
savestring
(
input
,
size
)
const
char
*
input
;
unsigned
size
;
unsigned
int
size
;
{
char
*
output
=
(
char
*
)
xmalloc
(
size
+
1
);
strcpy
(
output
,
input
);
...
...
@@ -658,9 +658,9 @@ savestring (input, size)
static
char
*
savestring2
(
input1
,
size1
,
input2
,
size2
)
const
char
*
input1
;
unsigned
size1
;
unsigned
int
size1
;
const
char
*
input2
;
unsigned
size2
;
unsigned
int
size2
;
{
char
*
output
=
(
char
*
)
xmalloc
(
size1
+
size2
+
1
);
strcpy
(
output
,
input1
);
...
...
@@ -1911,7 +1911,7 @@ munge_compile_params (params_list)
/* Build up the contents in a temporary vector
that is so big that to has to be big enough. */
const
char
**
temp_params
=
(
const
char
**
)
alloca
((
strlen
(
params_list
)
+
6
)
*
sizeof
(
char
*
));
=
(
const
char
**
)
alloca
((
strlen
(
params_list
)
+
8
)
*
sizeof
(
char
*
));
int
param_count
=
0
;
const
char
*
param
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment