add hidden definition for rc_waitpid()
This commit is contained in:
parent
3d484acec3
commit
f0c7e8e02f
@ -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)
|
||||
{
|
||||
|
@ -110,6 +110,7 @@ librc_hidden_proto(rc_strlist_join)
|
||||
librc_hidden_proto(rc_strlist_reverse)
|
||||
librc_hidden_proto(rc_update_deptree)
|
||||
librc_hidden_proto(rc_wait_service)
|
||||
librc_hidden_proto(rc_waitpid)
|
||||
librc_hidden_proto(rc_xmalloc)
|
||||
librc_hidden_proto(rc_xrealloc)
|
||||
librc_hidden_proto(rc_xstrdup)
|
||||
|
Loading…
Reference in New Issue
Block a user