Skip to content

Commit

Permalink
tests: Fix warning in 05-sim-long_jumps.c
Browse files Browse the repository at this point in the history
Commit 3c2da11 "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 <paul@paul-moore.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
  • Loading branch information
drakenclimber committed Nov 1, 2021
1 parent 3c2da11 commit 092c686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/05-sim-long_jumps.c
Expand Up @@ -23,6 +23,7 @@
#include <errno.h>
#include <unistd.h>
#include <limits.h>
#include <stdlib.h>

#include <seccomp.h>

Expand Down

0 comments on commit 092c686

Please sign in to comment.