aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/librc.h2
-rw-r--r--src/librc/rc.h.in4
-rw-r--r--src/librc/rc.map1
3 files changed, 5 insertions, 2 deletions
diff --git a/src/librc/librc.h b/src/librc/librc.h
index 311793f8..fc87bb10 100644
--- a/src/librc/librc.h
+++ b/src/librc/librc.h
@@ -72,8 +72,6 @@
#define librc_hidden_proto(x) hidden_proto(x)
#define librc_hidden_def(x) hidden_def(x)
-ssize_t rc_getline(char **, size_t *, FILE *);
-
librc_hidden_proto(rc_config_list)
librc_hidden_proto(rc_config_load)
librc_hidden_proto(rc_config_value)
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index 89ebfedd..373f1d1e 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -517,5 +517,9 @@ typedef LIST_HEAD(rc_pidlist, rc_pid) RC_PIDLIST;
* @return NULL terminated list of pids */
RC_PIDLIST *rc_find_pids(const char *, const char *const *, uid_t, pid_t);
+/* getline is a handy glibc function that not all libcs have, so
+ * we have our own */
+ssize_t rc_getline(char **, size_t *, FILE *);
+
__END_DECLS
#endif
diff --git a/src/librc/rc.map b/src/librc/rc.map
index 7cfbfabc..3f1e7e70 100644
--- a/src/librc/rc.map
+++ b/src/librc/rc.map
@@ -12,6 +12,7 @@ global:
rc_deptree_update_needed;
rc_environ_fd;
rc_find_pids;
+ rc_getline;
rc_newer_than;
rc_older_than;
rc_runlevel_exists;