]> gcc.gnu.org Git - gcc.git/blame - gcc/toplev.h
toplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.
[gcc.git] / gcc / toplev.h
CommitLineData
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__
9union tree_node;
aa7ad670 10struct rtx_def;
97263b8c
MH
11#endif
12
d6f4ec51
KG
13extern int count_error PROTO ((int));
14extern void strip_off_ending PROTO ((char *, int));
5f6da302
RL
15extern void print_time PROTO ((char *, int));
16extern int get_run_time PROTO ((void));
17extern void debug_start_source_file PROTO ((char *));
18extern void debug_end_source_file PROTO ((unsigned));
19extern void debug_define PROTO ((unsigned, char *));
20extern void debug_undef PROTO ((unsigned, char *));
21extern void fatal PVPROTO ((char *, ...))
22 ATTRIBUTE_PRINTF_1;
23extern void fatal_io_error PROTO ((char *));
f103890b 24extern void pfatal_with_name PROTO ((char *));
5f6da302
RL
25extern void warning PVPROTO ((char *, ...))
26 ATTRIBUTE_PRINTF_1;
27extern void error PVPROTO ((char *, ...))
28 ATTRIBUTE_PRINTF_1;
29extern void pedwarn PVPROTO ((char *, ...))
30 ATTRIBUTE_PRINTF_1;
31extern void pedwarn_with_file_and_line PVPROTO ((char *, int, char *, ...))
32 ATTRIBUTE_PRINTF_3;
33extern void warning_with_file_and_line PVPROTO ((char *, int, char *, ...))
34 ATTRIBUTE_PRINTF_3;
35extern void error_with_file_and_line PVPROTO ((char *, int, char *, ...))
36 ATTRIBUTE_PRINTF_3;
37extern void sorry PVPROTO ((char *s, ...))
38 ATTRIBUTE_PRINTF_1;
39extern void default_print_error_function PROTO ((char *));
40extern void report_error_function PROTO ((char *));
41
42extern void rest_of_decl_compilation PROTO ((union tree_node *, char *, int, int));
43extern void rest_of_type_compilation PROTO ((union tree_node *, int));
44extern void rest_of_compilation PROTO ((union tree_node *));
45extern void pedwarn_with_decl PVPROTO ((union tree_node *, char *, ...));
46extern void warning_with_decl PVPROTO ((union tree_node *, char *, ...));
47extern void error_with_decl PVPROTO ((union tree_node *, char *, ...));
48extern void announce_function PROTO ((union tree_node *));
49
d6f4ec51
KG
50extern void error_for_asm PVPROTO((struct rtx_def *, char *, ...))
51 ATTRIBUTE_PRINTF_2;
52extern void warning_for_asm PVPROTO((struct rtx_def *, char *, ...))
53 ATTRIBUTE_PRINTF_2;
5f6da302 54#endif /* __GCC_TOPLEV_H */
This page took 0.066587 seconds and 5 git commands to generate.