aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-11-26 22:13:23 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-11-26 22:13:23 -0800
commit25fdb4dc9751240a83e919d089afd9129f1b0396 (patch)
tree81aceb060743bb202f3bdc25d65782869844092b /gcc/target.h
parent02077425b78dddfa059082e3e2b243fbc4c2fd6a (diff)
downloadgcc-25fdb4dc9751240a83e919d089afd9129f1b0396.zip
gcc-25fdb4dc9751240a83e919d089afd9129f1b0396.tar.gz
gcc-25fdb4dc9751240a83e919d089afd9129f1b0396.tar.bz2
c-common.c (handle_visibility_attribute): Accept "default".
* c-common.c (handle_visibility_attribute): Accept "default". * tree.h (enum symbol_visibility): New. (decl_visibility): Declare. * target.h (gcc_target.visibility): Take visibility arg as integer. * varasm.c (default_assemble_visibility): Likewise. (decl_visibility): New. (maybe_assemble_visibility): Use it. * output.h (default_assemble_visibility): Update prototype. * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take visibility arg as integer. From-SVN: r59559
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 161c3dd..d947562 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -74,7 +74,7 @@ struct gcc_target
/* Emit an assembler directive to set visibility for the symbol
associated with the tree decl. */
- void (* visibility) PARAMS ((tree, const char *));
+ void (* visibility) PARAMS ((tree, int));
/* Output the assembler code for entry to a function. */
void (* function_prologue) PARAMS ((FILE *, HOST_WIDE_INT));