cleanup: protected -> hidden: cleanup symbol table
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 16 Aug 2012 14:49:38 +0000 (10:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 16 Aug 2012 14:49:38 +0000 (10:49 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/metadata/ctf-lexer.l
formats/ctf/metadata/ctf-parser.y
formats/ctf/metadata/ctf-scanner.h

index 5e99f7fc01cdd31cc04a6a59010c3173633a9001..bedda4ada67198883724b5ab1cd10b9a7134eebb 100644 (file)
@@ -23,7 +23,7 @@
 #include "ctf-parser.h"
 #include "ctf-ast.h"
 
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 void setstring(struct ctf_scanner *scanner, YYSTYPE *lvalp, const char *src);
 
 static void yyunput (int c, register char * yy_bp , yyscan_t yyscanner)
index 3ae0bc237120009363d6eedfe2d815dd3b879dcf..28b7bebe60309e2420c45dc5d0ffb8e1cace28b1 100644 (file)
@@ -31,7 +31,7 @@
 #include "ctf-parser.h"
 #include "ctf-ast.h"
 
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 int yydebug;
 
 /* Join two lists, put "add" at the end of "head".  */
@@ -47,15 +47,15 @@ _bt_list_splice_tail (struct bt_list_head *add, struct bt_list_head *head)
        }
 }
 
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 int yyparse(struct ctf_scanner *scanner);
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 int yylex(union YYSTYPE *yyval, struct ctf_scanner *scanner);
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 int yylex_init_extra(struct ctf_scanner *scanner, yyscan_t * ptr_yy_globals);
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 int yylex_destroy(yyscan_t yyscanner);
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 void yyrestart(FILE * in_str, yyscan_t scanner);
 
 struct gc_string {
@@ -92,7 +92,7 @@ static const char *node_type_to_str[] = {
        [ NODE_STRUCT ] = "NODE_STRUCT",
 };
 
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 const char *node_type(struct ctf_node *node)
 {
        if (node->type < NR_NODE_TYPES)
@@ -123,7 +123,7 @@ static struct gc_string *gc_string_alloc(struct ctf_scanner *scanner,
  * gsrc will be garbage collected immediately, and gstr might be.
  * Should only be used to append characters to a string literal or constant.
  */
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 struct gc_string *gc_string_append(struct ctf_scanner *scanner,
                                   struct gc_string *gstr,
                                   struct gc_string *gsrc)
@@ -202,7 +202,7 @@ static int lookup_type(struct ctf_scanner_scope *s, const char *id)
        return ret;
 }
 
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 int is_type(struct ctf_scanner *scanner, const char *id)
 {
        struct ctf_scanner_scope *it;
@@ -782,13 +782,13 @@ static int set_parent_node(struct ctf_node *node,
        return 0;
 }
 
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 void yyerror(struct ctf_scanner *scanner, const char *str)
 {
        fprintf(stderr, "error %s\n", str);
 }
  
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 int yywrap(void)
 {
        return 1;
index 3bf2c69005b976ae35548081f3cb153dc76b12db..d5650d0a703e7fb39fb77fbf54079243351895dc 100644 (file)
@@ -49,7 +49,7 @@ struct ctf_ast *ctf_scanner_get_ast(struct ctf_scanner *scanner)
        return scanner->ast;
 }
 
-__attribute__((visibility("protected")))
+__attribute__((visibility("hidden")))
 int is_type(struct ctf_scanner *scanner, const char *id);
 
 #endif /* _CTF_SCANNER_H */
This page took 0.036603 seconds and 4 git commands to generate.