summaryrefslogtreecommitdiffstats
path: root/Tests/Visibility/hidden.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Visibility/hidden.c')
-rw-r--r--Tests/Visibility/hidden.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/Tests/Visibility/hidden.c b/Tests/Visibility/hidden.c
index 6e97343..12f071f 100644
--- a/Tests/Visibility/hidden.c
+++ b/Tests/Visibility/hidden.c
@@ -1,4 +1,9 @@
-int hidden_function(void) { return 0; }
+int hidden_function(void)
+{
+ return 0;
+}
-__attribute__((visibility("default")))
-int not_hidden(void) { return hidden_function(); }
+__attribute__((visibility("default"))) int not_hidden(void)
+{
+ return hidden_function();
+}