summaryrefslogtreecommitdiff
path: root/src/librc.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-09-26 08:39:16 +0000
committerMike Frysinger <vapier@gentoo.org>2007-09-26 08:39:16 +0000
commitf0c7e8e02fd0b14b9f620257d1d459e7389a9ba2 (patch)
tree2f59396a949848f785ede9569d1bbe675ca70d30 /src/librc.c
parent3d484acec358f98461a25f2de5889d0ce060c89c (diff)
downloadopenrc-f0c7e8e02fd0b14b9f620257d1d459e7389a9ba2.tar.gz
openrc-f0c7e8e02fd0b14b9f620257d1d459e7389a9ba2.tar.bz2
openrc-f0c7e8e02fd0b14b9f620257d1d459e7389a9ba2.tar.xz
add hidden definition for rc_waitpid()
Diffstat (limited to 'src/librc.c')
-rw-r--r--src/librc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librc.c b/src/librc.c
index dd2e0b6..46ad9d0 100644
--- a/src/librc.c
+++ b/src/librc.c
@@ -550,7 +550,8 @@ static pid_t _exec_service (const char *service, const char *arg)
return (pid);
}
-int rc_waitpid (pid_t pid) {
+int rc_waitpid (pid_t pid)
+{
int status = 0;
pid_t savedpid = pid;
int retval = -1;
@@ -563,6 +564,7 @@ int rc_waitpid (pid_t pid) {
return (retval);
}
+librc_hidden_def(rc_waitpid)
pid_t rc_stop_service (const char *service)
{