diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-02-27 17:49:23 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-02-27 18:56:37 +0100 |
commit | c538ee8d695de053dc9da8965c85997a79fb6cb2 (patch) | |
tree | 1d9b60f0de6cdee47a434cde704dacf91af2a424 /test/build | |
parent | b1b75bd73a274128fced668002d0af7ece1a0790 (diff) | |
download | passt-c538ee8d695de053dc9da8965c85997a79fb6cb2.tar passt-c538ee8d695de053dc9da8965c85997a79fb6cb2.tar.gz passt-c538ee8d695de053dc9da8965c85997a79fb6cb2.tar.bz2 passt-c538ee8d695de053dc9da8965c85997a79fb6cb2.tar.lz passt-c538ee8d695de053dc9da8965c85997a79fb6cb2.tar.xz passt-c538ee8d695de053dc9da8965c85997a79fb6cb2.tar.zst passt-c538ee8d695de053dc9da8965c85997a79fb6cb2.zip |
util: Add own prototype for __clone2() on ia642023_02_27.c538ee8
ia64 needs to use __clone2() as clone() is not available, but glibc
doesn't export the prototype. Take it from clone(2) to avoid an
implicit declaration:
util.c: In function ‘do_clone’:
util.c:512:16: warning: implicit declaration of function ‘__clone2’ [-Wimplicit-function-declaration]
512 | return __clone2(fn, stack_area + stack_size / 2, stack_size / 2,
| ^~~~~~~~
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/build')
0 files changed, 0 insertions, 0 deletions