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
ff57c94e
Commit
ff57c94e
authored
Jan 30, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r257
parent
5faca127
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
gcc/protoize.c
+5
-6
No files found.
gcc/protoize.c
View file @
ff57c94e
...
@@ -320,9 +320,7 @@ struct default_include { char *fname; int cplusplus; } include_defaults[]
...
@@ -320,9 +320,7 @@ struct default_include { char *fname; int cplusplus; } include_defaults[]
#ifdef SYSTEM_INCLUDE_DIR
#ifdef SYSTEM_INCLUDE_DIR
{
SYSTEM_INCLUDE_DIR
,
0
},
{
SYSTEM_INCLUDE_DIR
,
0
},
#endif
#endif
#ifndef NO_STANDARD_INCLUDE_DIR
{
STANDARD_INCLUDE_DIR
,
0
},
{
STANDARD_INCLUDE_DIR
,
0
},
#endif
#endif
/* not CROSS_COMPILE */
#endif
/* not CROSS_COMPILE */
{
0
,
0
}
{
0
,
0
}
};
};
...
@@ -614,8 +612,9 @@ static char * saved_repl_write_ptr;
...
@@ -614,8 +612,9 @@ static char * saved_repl_write_ptr;
static
const
char
*
shortpath
();
static
const
char
*
shortpath
();
/* Allocate some space, but check that the allocation was successful. */
/* Allocate some space, but check that the allocation was successful. */
/* alloca.c uses this, so don't make it static. */
static
pointer_type
pointer_type
xmalloc
(
byte_count
)
xmalloc
(
byte_count
)
size_t
byte_count
;
size_t
byte_count
;
{
{
...
@@ -635,7 +634,7 @@ xmalloc (byte_count)
...
@@ -635,7 +634,7 @@ xmalloc (byte_count)
/* Reallocate some space, but check that the reallocation was successful. */
/* Reallocate some space, but check that the reallocation was successful. */
static
pointer_type
pointer_type
xrealloc
(
old_space
,
byte_count
)
xrealloc
(
old_space
,
byte_count
)
pointer_type
old_space
;
pointer_type
old_space
;
size_t
byte_count
;
size_t
byte_count
;
...
@@ -658,7 +657,7 @@ xrealloc (old_space, byte_count)
...
@@ -658,7 +657,7 @@ xrealloc (old_space, byte_count)
the `const' qualifier from it and also make sure that the pointer value
the `const' qualifier from it and also make sure that the pointer value
is non-null. */
is non-null. */
static
void
void
xfree
(
p
)
xfree
(
p
)
const_pointer_type
p
;
const_pointer_type
p
;
{
{
...
@@ -1933,7 +1932,7 @@ munge_compile_params (params_list)
...
@@ -1933,7 +1932,7 @@ munge_compile_params (params_list)
/* Make a copy of the compile_params in heap space. */
/* Make a copy of the compile_params in heap space. */
compile_params
compile_params
=
(
char
**
)
xmalloc
(
sizeof
(
char
*
)
*
(
param_count
+
1
));
=
(
c
onst
c
har
**
)
xmalloc
(
sizeof
(
char
*
)
*
(
param_count
+
1
));
memcpy
(
compile_params
,
temp_params
,
sizeof
(
char
*
)
*
param_count
);
memcpy
(
compile_params
,
temp_params
,
sizeof
(
char
*
)
*
param_count
);
}
}
...
...
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