diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2019-02-26 16:08:55 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2019-02-26 17:47:55 -0600 |
commit | 44f5a72d1aeb131cc2cb464a53809a5a8d90c46e (patch) | |
tree | 8722a70dd685a04496205c864fbeccccbe18c1c9 /src/librc/librc-stringlist.c | |
parent | 0d378974bfbd69c5427d44c0a43a9f36389aa235 (diff) |
remove hidden-visibility.h
I am removing this on the advice of a member of the Gentoo toolchain
team. It was explained to me that this doesn't offer any significant
benefits to OpenRC.
If anyone ffeels differently, please open a pull request reverting
this and adding an explanation of what it does and how to know which
functions to mark hidden in the future.
This fixes #301.
Diffstat (limited to 'src/librc/librc-stringlist.c')
-rw-r--r-- | src/librc/librc-stringlist.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/librc/librc-stringlist.c b/src/librc/librc-stringlist.c index 58c6ef8d..773cb9cb 100644 --- a/src/librc/librc-stringlist.c +++ b/src/librc/librc-stringlist.c @@ -25,7 +25,6 @@ rc_stringlist_new(void) TAILQ_INIT(l); return l; } -librc_hidden_def(rc_stringlist_new) RC_STRING * rc_stringlist_add(RC_STRINGLIST *list, const char *value) @@ -36,7 +35,6 @@ rc_stringlist_add(RC_STRINGLIST *list, const char *value) TAILQ_INSERT_TAIL(list, s, entries); return s; } -librc_hidden_def(rc_stringlist_add) RC_STRING * rc_stringlist_addu(RC_STRINGLIST *list, const char *value) @@ -51,7 +49,6 @@ rc_stringlist_addu(RC_STRINGLIST *list, const char *value) return rc_stringlist_add(list, value); } -librc_hidden_def(rc_stringlist_addu) bool rc_stringlist_delete(RC_STRINGLIST *list, const char *value) @@ -69,7 +66,6 @@ rc_stringlist_delete(RC_STRINGLIST *list, const char *value) errno = EEXIST; return false; } -librc_hidden_def(rc_stringlist_delete) RC_STRING * rc_stringlist_find(RC_STRINGLIST *list, const char *value) @@ -83,7 +79,6 @@ rc_stringlist_find(RC_STRINGLIST *list, const char *value) } return NULL; } -librc_hidden_def(rc_stringlist_find) RC_STRINGLIST * rc_stringlist_split(const char *value, const char *sep) @@ -98,7 +93,6 @@ rc_stringlist_split(const char *value, const char *sep) return list; } -librc_hidden_def(rc_stringlist_split) void rc_stringlist_sort(RC_STRINGLIST **list) @@ -128,7 +122,6 @@ rc_stringlist_sort(RC_STRINGLIST **list) free(l); *list = new; } -librc_hidden_def(rc_stringlist_sort) void rc_stringlist_free(RC_STRINGLIST *list) @@ -148,4 +141,3 @@ rc_stringlist_free(RC_STRINGLIST *list) } free(list); } -librc_hidden_def(rc_stringlist_free) |