diff options
author | Andreas Jaeger <aj@suse.de> | 2003-07-06 22:32:17 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2003-07-06 22:32:17 +0200 |
commit | 77f9b92ca44d5e03f97cec02bda2f5bef2b5885c (patch) | |
tree | 7a7e3dcca38ea8778584051ff27fcd7ea61c6a6f /gcc/f/g77spec.c | |
parent | 313dd5043568c6969fe11aac05f424e08097c50b (diff) | |
download | gcc-77f9b92ca44d5e03f97cec02bda2f5bef2b5885c.zip gcc-77f9b92ca44d5e03f97cec02bda2f5bef2b5885c.tar.gz gcc-77f9b92ca44d5e03f97cec02bda2f5bef2b5885c.tar.bz2 |
bad.c: Convert () to (void) in function definitions.
* bad.c: Convert () to (void) in function definitions.
* bld.c: Likewise.
* data.c: Likewise.
* equiv.c: Likewise.
* expr.c: Likewise.
* global.c: Likewise.
* implic.c: Likewise.
* info.c: Likewise.
* intdoc.c: Likewise.
* intrin.c: Likewise.
* lab.c: Likewise.
* lex.c: Likewise.
* malloc.c: Likewise.
* src.c: Likewise.
* st.c: Likewise.
* sta.c: Likewise.
* stb.c: Likewise.
* stc.c: Likewise.
* std.c: Likewise.
* ste.c: Likewise.
* storag.c: Likewise.
* stt.c: Likewise.
* stw.c: Likewise.
* symbol.c: Likewise.
* top.c: Likewise.
* where.c: Likewise.
* com.c: Convert prototypes to ISO C90.
* com.h: Likewise.
* g77spec.c: Likewise.
From-SVN: r69014
Diffstat (limited to 'gcc/f/g77spec.c')
-rw-r--r-- | gcc/f/g77spec.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/gcc/f/g77spec.c b/gcc/f/g77spec.c index 4e6e53c..dc8347c 100644 --- a/gcc/f/g77spec.c +++ b/gcc/f/g77spec.c @@ -93,9 +93,8 @@ typedef enum /* The original argument list and related info is copied here. */ static int g77_xargc; static const char *const *g77_xargv; -static void lookup_option PARAMS ((Option *, int *, const char **, - const char *)); -static void append_arg PARAMS ((const char *)); +static void lookup_option (Option *, int *, const char **, const char *); +static void append_arg (const char *); /* The new argument list will be built here. */ static int g77_newargc; @@ -118,11 +117,7 @@ static const char **g77_newargv; to short ones, where available, has already been run. */ static void -lookup_option (xopt, xskip, xarg, text) - Option *xopt; - int *xskip; - const char **xarg; - const char *text; +lookup_option (Option *xopt, int *xskip, const char **xarg, const char *text) { Option opt = OPTION_; int skip; @@ -202,8 +197,7 @@ lookup_option (xopt, xskip, xarg, text) the new arg count. Otherwise allocate a new list, etc. */ static void -append_arg (arg) - const char *arg; +append_arg (const char *arg) { static int newargsize; @@ -239,10 +233,8 @@ append_arg (arg) } void -lang_specific_driver (in_argc, in_argv, in_added_libraries) - int *in_argc; - const char *const **in_argv; - int *in_added_libraries ATTRIBUTE_UNUSED; +lang_specific_driver (int *in_argc, const char *const **in_argv, + int *in_added_libraries ATTRIBUTE_UNUSED) { int argc = *in_argc; const char *const *argv = *in_argv; @@ -532,7 +524,7 @@ or type the command `info -f g77 Copying'.\n\ } /* Called before linking. Returns 0 on success and -1 on failure. */ -int lang_specific_pre_link () /* Not used for F77. */ +int lang_specific_pre_link (void) /* Not used for F77. */ { return 0; } |