diff options
author | Fergus Henderson <fjh@cs.mu.oz.au> | 2001-03-05 12:17:45 +0000 |
---|---|---|
committer | Fergus Henderson <fjh@gcc.gnu.org> | 2001-03-05 12:17:45 +0000 |
commit | aa5b94de8489f1c17727c69aec521ffa660622a6 (patch) | |
tree | 105a2919154859f7d662864db7555e317b9cc8c0 /gcc/toplev.h | |
parent | a22f570364f4497027c873bcdcad34dd272ef115 (diff) | |
download | gcc-aa5b94de8489f1c17727c69aec521ffa660622a6.tar.gz |
Put main() in a separate file, so that the language
front-end can use a different main().
* main.c: New.
* toplev.c: (main): Rename as toplev_main.
* toplev.h: Declare toplev_main.
* Makefile.in (OBJS): add toplev.o.
(BACKEND): remove toplev.o, add main.o.
From-SVN: r40247
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index 44772f35a44..08c6112d6b9 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -31,6 +31,7 @@ struct rtx_def; #define skip_leading_substring(whole, part) \ (strncmp (whole, part, strlen (part)) ? NULL : whole + strlen (part)) +extern int toplev_main PARAMS ((int argc, char **argv)); extern int read_integral_parameter PARAMS ((const char *, const char *, const int)); extern int count_error PARAMS ((int)); |