aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-24 06:24:46 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-24 06:24:46 +0000
commit7b08276fa822a895ef5e4eaa1b0a38183476b84c (patch)
tree3583ea4b13871b431a0d9076fde8934e848e1e25 /src/librc
parent58caa0864fe5dcd0c1036c9352ed945ae6ccd44a (diff)
add missing rc_stringlist_new/rc_sys hidden defs
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/librc-stringlist.c1
-rw-r--r--src/librc/librc.c1
-rw-r--r--src/librc/librc.h2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/librc/librc-stringlist.c b/src/librc/librc-stringlist.c
index 44b03791..a60fe241 100644
--- a/src/librc/librc-stringlist.c
+++ b/src/librc/librc-stringlist.c
@@ -37,6 +37,7 @@ RC_STRINGLIST *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)
{
diff --git a/src/librc/librc.c b/src/librc/librc.c
index 376f45c7..788dcfa5 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -232,6 +232,7 @@ const char *rc_sys(void)
return NULL;
#endif /* PREFIX */
}
+librc_hidden_def(rc_sys)
static const char *rc_parse_service_state(RC_SERVICE state)
{
diff --git a/src/librc/librc.h b/src/librc/librc.h
index 62d389b9..4e56eb85 100644
--- a/src/librc/librc.h
+++ b/src/librc/librc.h
@@ -118,7 +118,9 @@ librc_hidden_proto(rc_stringlist_add)
librc_hidden_proto(rc_stringlist_addu)
librc_hidden_proto(rc_stringlist_delete)
librc_hidden_proto(rc_stringlist_free)
+librc_hidden_proto(rc_stringlist_new)
librc_hidden_proto(rc_stringlist_sort)
+librc_hidden_proto(rc_sys)
librc_hidden_proto(rc_yesno)
#endif