summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-11 23:15:52 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-11 23:15:52 +0000
commit66ae6f24242674998398c0bfeba29b84da4b3e6a (patch)
treedbb73853ee578ae05b72466fe14f6ebfa95f85d9
parent69d39d70bcf9fc50042a25eaf47ab2bd4d085183 (diff)
downloadppe42-gcc-66ae6f24242674998398c0bfeba29b84da4b3e6a.tar.gz
ppe42-gcc-66ae6f24242674998398c0bfeba29b84da4b3e6a.zip
* varasm.c (get_named_section_flags, decl_tls_model): Make
them static. * output.h: Remove the prototype for get_named_section_flags. * tree.h: Remove the prototype for decl_tls_model. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90506 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/output.h1
-rw-r--r--gcc/tree.h1
-rw-r--r--gcc/varasm.c4
4 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6fb10376e81..ee0a537d66a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -21,6 +21,11 @@
* explow.c (round_push): Make it static.
* expr.h: Remove the corresponding prototype.
+ * varasm.c (get_named_section_flags, decl_tls_model): Make
+ them static.
+ * output.h: Remove the prototype for get_named_section_flags.
+ * tree.h: Remove the prototype for decl_tls_model.
+
2004-11-11 Kazu Hirata <kazu@cs.umass.edu>
* function.c (expand_function_end): Remove an "if" statement
diff --git a/gcc/output.h b/gcc/output.h
index 5148b5e5c60..553f7c4e1cf 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -476,7 +476,6 @@ extern void no_asm_to_stream (FILE *);
#define SECTION_NOTYPE 0x80000 /* don't output @progbits */
#define SECTION_MACH_DEP 0x100000 /* subsequent bits reserved for target */
-extern unsigned int get_named_section_flags (const char *);
extern bool set_named_section_flags (const char *, unsigned int);
#define named_section_flags(NAME, FLAGS) \
named_section_real((NAME), (FLAGS), /*decl=*/NULL_TREE)
diff --git a/gcc/tree.h b/gcc/tree.h
index 2482b9db831..105966a262c 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3716,7 +3716,6 @@ extern void make_decl_rtl (tree);
extern void make_decl_one_only (tree);
extern int supports_one_only (void);
extern void variable_section (tree, int);
-enum tls_model decl_tls_model (tree);
extern void resolve_unique_section (tree, int, int);
extern void mark_referenced (tree);
extern void mark_decl_referenced (tree);
diff --git a/gcc/varasm.c b/gcc/varasm.c
index bff916b5545..a92abb4917e 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -350,7 +350,7 @@ in_named_entry_hash (const void *p)
set of flags for a section to have, so 0 does not mean that the section
has not been seen. */
-unsigned int
+static unsigned int
get_named_section_flags (const char *section)
{
struct in_named_entry **slot;
@@ -4476,7 +4476,7 @@ init_varasm_once (void)
const_alias_set = new_alias_set ();
}
-enum tls_model
+static enum tls_model
decl_tls_model (tree decl)
{
enum tls_model kind;
OpenPOWER on IntegriCloud