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
c3647fe0
Commit
c3647fe0
authored
Oct 19, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(stdlib.h): Be more general in edit to change declaration of
{c,m,re}alloc. From-SVN: r10477
parent
ce13d15f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/fixincludes
+4
-4
No files found.
gcc/fixincludes
View file @
c3647fe0
...
@@ -907,10 +907,10 @@ if [ -r ${LIB}/$file ]; then
...
@@ -907,10 +907,10 @@ if [ -r ${LIB}/$file ]; then
echo
Fixing
$file
echo
Fixing
$file
sed
-e
's/int abort/void abort/g'
\
sed
-e
's/int abort/void abort/g'
\
-e
's/int free/void free/g'
\
-e
's/int free/void free/g'
\
-e
's/char
\*
calloc/void \* calloc/g'
\
-e
's/char
[ ]*\*[ ]*
calloc/void \* calloc/g'
\
-e
's/char
\*
malloc/void \* malloc/g'
\
-e
's/char
[ ]*\*[ ]*
malloc/void \* malloc/g'
\
-e
's/char
\*
realloc/void \* realloc/g'
\
-e
's/char
[ ]*\*[ ]*
realloc/void \* realloc/g'
\
-e
's/int
exit/void exit/g'
\
-e
's/int
[ ][ ]*
exit/void exit/g'
\
-e
'/typedef[ a-zA-Z_]*[ ]size_t[ ]*;/i\
-e
'/typedef[ a-zA-Z_]*[ ]size_t[ ]*;/i\
#ifndef _GCC_SIZE_T\
#ifndef _GCC_SIZE_T\
#define _GCC_SIZE_T
#define _GCC_SIZE_T
...
...
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