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
99360286
Commit
99360286
authored
Feb 12, 1994
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(PROTO): Define.
Add prototypes for static functions. From-SVN: r6542
parent
b331b745
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
21 deletions
+34
-21
gcc/gcc.c
+34
-21
No files found.
gcc/gcc.c
View file @
99360286
...
...
@@ -51,6 +51,15 @@ compilation is specified by a string called a "spec". */
#define X_OK 1
#endif
/* Add prototype support. */
#ifndef PROTO
#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
#define PROTO(ARGS) ARGS
#else
#define PROTO(ARGS) ()
#endif
#endif
#ifndef VPROTO
#ifdef __STDC__
#define VPROTO(ARGS) ARGS
...
...
@@ -183,27 +192,31 @@ static struct obstack collect_obstack;
extern
char
*
version_string
;
static
void
set_spec
();
static
struct
compiler
*
lookup_compiler
();
static
char
*
find_a_file
();
static
void
add_prefix
();
static
char
*
skip_whitespace
();
static
void
record_temp_file
();
static
char
*
handle_braces
();
static
char
*
save_string
();
static
char
*
concat
();
static
int
do_spec
();
static
int
do_spec_1
();
static
char
*
find_file
();
static
int
is_directory
();
static
void
validate_switches
();
static
void
validate_all_switches
();
static
void
give_switch
();
static
void
pfatal_with_name
();
static
void
perror_with_name
();
static
void
perror_exec
();
static
void
fatal
();
static
void
error
();
/* Forward declaration for prototypes. */
struct
path_prefix
;
static
void
set_spec
PROTO
((
char
*
,
char
*
));
static
struct
compiler
*
lookup_compiler
PROTO
((
char
*
,
int
,
char
*
));
static
char
*
find_a_file
PROTO
((
struct
path_prefix
*
,
char
*
,
int
));
static
void
add_prefix
PROTO
((
struct
path_prefix
*
,
char
*
,
int
,
int
,
int
*
));
static
char
*
skip_whitespace
PROTO
((
char
*
));
static
void
record_temp_file
PROTO
((
char
*
,
int
,
int
));
static
char
*
handle_braces
PROTO
((
char
*
));
static
char
*
save_string
PROTO
((
char
*
,
int
));
static
char
*
concat
PROTO
((
char
*
,
char
*
,
char
*
));
static
int
do_spec
PROTO
((
char
*
));
static
int
do_spec_1
PROTO
((
char
*
,
int
,
char
*
));
static
char
*
find_file
PROTO
((
char
*
));
static
int
is_directory
PROTO
((
char
*
,
char
*
,
int
));
static
void
validate_switches
PROTO
((
char
*
));
static
void
validate_all_switches
PROTO
((
void
));
static
void
give_switch
PROTO
((
int
,
int
));
static
void
pfatal_with_name
PROTO
((
char
*
));
static
void
perror_with_name
PROTO
((
char
*
));
static
void
perror_exec
PROTO
((
char
*
));
static
void
fatal
PROTO
((
char
*
,
...));
static
void
error
PROTO
((
char
*
,
...));
void
fancy_abort
();
char
*
xmalloc
();
char
*
xrealloc
();
...
...
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