]>
Commit | Line | Data |
---|---|---|
5f6da302 RL |
1 | /* toplev.h - Various declarations for functions found in toplev.c |
2 | Copyright (C) 1998 Free Software Foundation, Inc. | |
3 | */ | |
4 | ||
5 | #ifndef __GCC_TOPLEV_H__ | |
6 | #define __GCC_TOPLEV_H__ | |
7 | ||
97263b8c MH |
8 | #ifdef __STDC__ |
9 | union tree_node; | |
aa7ad670 | 10 | struct rtx_def; |
97263b8c MH |
11 | #endif |
12 | ||
d6f4ec51 KG |
13 | extern int count_error PROTO ((int)); |
14 | extern void strip_off_ending PROTO ((char *, int)); | |
5f6da302 RL |
15 | extern void print_time PROTO ((char *, int)); |
16 | extern int get_run_time PROTO ((void)); | |
17 | extern void debug_start_source_file PROTO ((char *)); | |
18 | extern void debug_end_source_file PROTO ((unsigned)); | |
19 | extern void debug_define PROTO ((unsigned, char *)); | |
20 | extern void debug_undef PROTO ((unsigned, char *)); | |
21 | extern void fatal PVPROTO ((char *, ...)) | |
22 | ATTRIBUTE_PRINTF_1; | |
23 | extern void fatal_io_error PROTO ((char *)); | |
f103890b | 24 | extern void pfatal_with_name PROTO ((char *)); |
5f6da302 RL |
25 | extern void warning PVPROTO ((char *, ...)) |
26 | ATTRIBUTE_PRINTF_1; | |
27 | extern void error PVPROTO ((char *, ...)) | |
28 | ATTRIBUTE_PRINTF_1; | |
29 | extern void pedwarn PVPROTO ((char *, ...)) | |
30 | ATTRIBUTE_PRINTF_1; | |
31 | extern void pedwarn_with_file_and_line PVPROTO ((char *, int, char *, ...)) | |
32 | ATTRIBUTE_PRINTF_3; | |
33 | extern void warning_with_file_and_line PVPROTO ((char *, int, char *, ...)) | |
34 | ATTRIBUTE_PRINTF_3; | |
35 | extern void error_with_file_and_line PVPROTO ((char *, int, char *, ...)) | |
36 | ATTRIBUTE_PRINTF_3; | |
37 | extern void sorry PVPROTO ((char *s, ...)) | |
38 | ATTRIBUTE_PRINTF_1; | |
39 | extern void default_print_error_function PROTO ((char *)); | |
40 | extern void report_error_function PROTO ((char *)); | |
41 | ||
42 | extern void rest_of_decl_compilation PROTO ((union tree_node *, char *, int, int)); | |
43 | extern void rest_of_type_compilation PROTO ((union tree_node *, int)); | |
44 | extern void rest_of_compilation PROTO ((union tree_node *)); | |
45 | extern void pedwarn_with_decl PVPROTO ((union tree_node *, char *, ...)); | |
46 | extern void warning_with_decl PVPROTO ((union tree_node *, char *, ...)); | |
47 | extern void error_with_decl PVPROTO ((union tree_node *, char *, ...)); | |
48 | extern void announce_function PROTO ((union tree_node *)); | |
49 | ||
d6f4ec51 KG |
50 | extern void error_for_asm PVPROTO((struct rtx_def *, char *, ...)) |
51 | ATTRIBUTE_PRINTF_2; | |
52 | extern void warning_for_asm PVPROTO((struct rtx_def *, char *, ...)) | |
53 | ATTRIBUTE_PRINTF_2; | |
5f6da302 | 54 | #endif /* __GCC_TOPLEV_H */ |