Other tests don't have them either. Hopefully contemporary versions of glibc provide a common clone() prototype on all supported architectures. Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> --- tests/execshare/parent.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/execshare/parent.c b/tests/execshare/parent.c index 7c689fd..db2e127 100644 --- a/tests/execshare/parent.c +++ b/tests/execshare/parent.c @@ -76,14 +76,7 @@ int main(int argc, char **argv) exit(-1); } -#if defined(__hppa__) - pid = clone(clone_fn, page, cloneflags | SIGCHLD, argv); -#elif defined(__ia64__) - pid = __clone2(clone_fn, page, pagesize, cloneflags | SIGCHLD, argv, NULL, NULL, - NULL); -#else pid = clone(clone_fn, clone_stack, cloneflags | SIGCHLD, argv); -#endif if (pid < 0) { perror("clone"); exit(-1); -- 2.38.1