]> git.ipfire.org Git - thirdparty/elfutils.git/commit
testsuite: Avoid C99 compatibility issues in run-native-test.sh
authorFlorian Weimer <fweimer@redhat.com>
Sat, 22 Apr 2023 19:37:09 +0000 (21:37 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 22 Apr 2023 19:47:09 +0000 (21:47 +0200)
commit51373aa9a77ef53d237edc1af664efcbb49f1bf5
tree19b62e0a282b684527014014c382c1b0500fe625
parent4d8de4b2fa05495d69d09e1a3d335f24d6bf33ee
testsuite: Avoid C99 compatibility issues in run-native-test.sh

Include <unistd.h> for the pause function, and add the return type
of main.  Avoids an implicit function declaration and implicit int.

Signed-off-by: Florian Weimer <fweimer@redhat.com>
tests/run-native-test.sh