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

1 view
Skip to first unread message

Tom Hromatka

unread,
Nov 1, 2021, 2:30:23 PM11/1/21
to libse...@googlegroups.com
Branch: refs/heads/main
Home: https://github.com/seccomp/libseccomp
Commit: 092c686e1bc4a64d3f876349573ca66144fa3b73
https://github.com/seccomp/libseccomp/commit/092c686e1bc4a64d3f876349573ca66144fa3b73
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>


Reply all
Reply to author
Forward
0 new messages