[seccomp/libseccomp] 7ac9ab: tests: Fix warning in 05-sim-long_jumps.c

1 view
Skip to first unread message

Tom Hromatka

unread,
Nov 1, 2021, 2:33:31 PM11/1/21
to libse...@googlegroups.com
Branch: refs/heads/release-2.5
Home: https://github.com/seccomp/libseccomp
Commit: 7ac9ab8cb49943b3e09ce2345883a8f3258b72db
https://github.com/seccomp/libseccomp/commit/7ac9ab8cb49943b3e09ce2345883a8f3258b72db
Author: Tom Hromatka <tom.hr...@oracle.com>
Date: 2021-11-01 (Mon, 01 Nov 2021)

Changed paths:
M tests/05-sim-long_jumps.c

Log Message:
-----------
tests: Fix warning in 05-sim-long_jumps.c

Commit 3c2da115b5b35 "tests: improve 05-sim-long_jumps to work better
across arch/ABIs" introduced the following warning. Let's fix it.

05-sim-long_jumps.c: In function ‘main’:
05-sim-long_jumps.c:68:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
68 | free(syscall);

Acked-by: Paul Moore <pa...@paul-moore.com>
Signed-off-by: Tom Hromatka <tom.hr...@oracle.com>
(cherry picked from commit 092c686e1bc4a64d3f876349573ca66144fa3b73)


Reply all
Reply to author
Forward
0 new messages