exile.hpp: Mark do_clone inline, not static
This commit is contained in:
parent
0f39ee7061
commit
f2ca26010a
@ -89,7 +89,7 @@ int exile_clone_handle_serializer(void * arg)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int do_clone(int (*clonefn)(void *), void *launcharg)
|
inline int do_clone(int (*clonefn)(void *), void *launcharg)
|
||||||
{
|
{
|
||||||
struct rlimit rlimit;
|
struct rlimit rlimit;
|
||||||
int ret = getrlimit(RLIMIT_STACK, &rlimit);
|
int ret = getrlimit(RLIMIT_STACK, &rlimit);
|
||||||
|
Loading…
Reference in New Issue
Block a user