diff options
author | Per Bothner <per@bothner.com> | 2001-02-23 19:20:18 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2001-02-23 19:20:18 -0800 |
commit | 1aed31b63c536a400353aa86d6fe8fc04147ac52 (patch) | |
tree | 22e4153c2faaa0c6c6d18eae98adfde2341a86fa /gcc/gcc.c | |
parent | 4dd2ac2c3546edfcfb2bcba303378dd59c51e70a (diff) | |
download | gcc-1aed31b63c536a400353aa86d6fe8fc04147ac52.zip gcc-1aed31b63c536a400353aa86d6fe8fc04147ac52.tar.gz gcc-1aed31b63c536a400353aa86d6fe8fc04147ac52.tar.bz2 |
gcc.c (record_temp_file, [...]): Make non-static, so they can be called from java/jvspec.c.
* gcc.c (record_temp_file, pfatal_with_name, error): Make non-static,
so they can be called from java/jvspec.c.
* gcc.h (record_temp_file, pfatal_with_name, error): Declare.
From-SVN: r40023
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -271,7 +271,6 @@ static void add_prefix PARAMS ((struct path_prefix *, const char *, const char *, int, int, int *)); static void translate_options PARAMS ((int *, const char *const **)); static char *skip_whitespace PARAMS ((char *)); -static void record_temp_file PARAMS ((const char *, int, int)); static void delete_if_ordinary PARAMS ((const char *)); static void delete_temp_files PARAMS ((void)); static void delete_failure_queue PARAMS ((void)); @@ -289,12 +288,9 @@ static int used_arg PARAMS ((const char *, int)); static int default_arg PARAMS ((const char *, int)); static void set_multilib_dir PARAMS ((void)); static void print_multilib_info PARAMS ((void)); -static void pfatal_with_name PARAMS ((const char *)) ATTRIBUTE_NORETURN; static void perror_with_name PARAMS ((const char *)); static void pfatal_pexecute PARAMS ((const char *, const char *)) ATTRIBUTE_NORETURN; -static void error PARAMS ((const char *, ...)) - ATTRIBUTE_PRINTF_1; static void notice PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; static void display_help PARAMS ((void)); @@ -1918,7 +1914,7 @@ static struct temp_file *failure_delete_queue; FAIL_DELETE nonzero means delete it if a compilation step fails; otherwise delete it in any case. */ -static void +void record_temp_file (filename, always_delete, fail_delete) const char *filename; int always_delete; @@ -6064,7 +6060,7 @@ save_string (s, len) return result; } -static void +void pfatal_with_name (name) const char *name; { @@ -6132,7 +6128,7 @@ fatal VPARAMS ((const char *msgid, ...)) exit (1); } -static void +void error VPARAMS ((const char *msgid, ...)) { #ifndef ANSI_PROTOTYPES |