tart_stop_daemon: another fix to disabled OLDER_VERSION_OF_X code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
837913fc54
commit
c783cf78af
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,7 @@ static int pid_is_exec(pid_t pid)
|
||||||
return 1;
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
static int pid_is_exec(pid_t pid)
|
static int pid_is_exec(pid_t pid)
|
||||||
{
|
{
|
||||||
ssize_t bytes;
|
ssize_t bytes;
|
||||||
|
@ -217,6 +216,7 @@ static int pid_is_exec(pid_t pid)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int pid_is_name(pid_t pid)
|
static int pid_is_name(pid_t pid)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue