summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-21 21:25:47 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-21 21:25:47 +0000
commit430855704da1be0adc64e71f16e2e0a3ec63f6f5 (patch)
treeb8c3a0974d2bb92c973491e3808baf5224a7730d /gcc/c-common.h
parent1aa14d2c87dabb9055bb1bc044c83221780bd8e5 (diff)
downloadgcc-430855704da1be0adc64e71f16e2e0a3ec63f6f5.tar.gz
* c-common.h (num_in_fnames): Declare.
(c_static_assembler_name): Move from here... * c-tree.h (c_static_assembler_name): ... to here. * c-opts.c: Don't include langhooks-def.h. (c_static_assembler_name): Move to c-decl.c. (num_in_fnames): Make externally visible. * c-decl.c: Include langhooks-def.h. (c_static_assembler_name): Move from c-opts.c. * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H). (c-opts.o): Remove $(LANGHOOKS_DEF_H). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 6f579ac9ed1..680774a8dcc 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -856,6 +856,11 @@ extern int max_tinst_depth;
extern int skip_evaluation;
+/* The count of input filenames. Only really valid for comparisons
+ against 1. */
+
+extern unsigned num_in_fnames;
+
/* C types are partitioned into three subsets: object, function, and
incomplete types. */
#define C_TYPE_OBJECT_P(type) \
@@ -905,7 +910,6 @@ extern void check_function_format (int *, tree, tree);
extern void set_Wformat (int);
extern tree handle_format_attribute (tree *, tree, tree, int, bool *);
extern tree handle_format_arg_attribute (tree *, tree, tree, int, bool *);
-extern void c_static_assembler_name (tree);
extern void c_common_insert_default_attributes (tree);
extern int c_common_handle_option (size_t code, const char *arg, int value);
extern void c_common_handle_filename (const char *filename);