Avoid interposing pidfile(), use rk_pidfile() instead

This commit is contained in:
Viktor Dukhovni
2016-12-19 19:09:45 -05:00
parent bda422f40b
commit 7dc4481ed2
8 changed files with 8 additions and 10 deletions

View File

@@ -87,7 +87,7 @@ pidfile_cleanup(void)
}
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
pidfile(const char *bname)
rk_pidfile(const char *bname)
{
/*
* If the OS has a pidfile(), call that, but still call
@@ -95,7 +95,6 @@ pidfile(const char *bname)
* writing it twice will still work.
*/
#ifdef HAVE_PIDFILE
#undef pidfile
pidfile(bname);
#endif