aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2001-02-23 19:20:18 -0800
committerPer Bothner <bothner@gcc.gnu.org>2001-02-23 19:20:18 -0800
commit1aed31b63c536a400353aa86d6fe8fc04147ac52 (patch)
tree22e4153c2faaa0c6c6d18eae98adfde2341a86fa /gcc/gcc.h
parent4dd2ac2c3546edfcfb2bcba303378dd59c51e70a (diff)
downloadgcc-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.h')
-rw-r--r--gcc/gcc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gcc.h b/gcc/gcc.h
index 9a9beb0..1c782c7 100644
--- a/gcc/gcc.h
+++ b/gcc/gcc.h
@@ -25,11 +25,14 @@ Boston, MA 02111-1307, USA. */
/* These are exported by gcc.c. */
extern int do_spec PARAMS ((const char *));
+extern void record_temp_file PARAMS ((const char *, int, int));
extern void fancy_abort PARAMS ((void)) ATTRIBUTE_NORETURN;
extern const char *input_filename;
extern size_t input_filename_length;
extern void fatal PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
+extern void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
+extern void pfatal_with_name PARAMS ((const char *)) ATTRIBUTE_NORETURN;
/* Spec files linked with gcc.c must provide definitions for these. */