diff options
author | Paul Moore <pmoore@redhat.com> | 2013-04-19 15:29:50 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2013-04-19 15:29:50 -0400 |
commit | b29fcac12735967f594223389cd06e41d3d07b48 (patch) | |
tree | b0902bc1a157d1265ba06fd3501428209c4b82ba /src/arch-x86.h | |
parent | 3bcbcd0389f6e7ee7fba0a3fee4c30e21c3625f0 (diff) | |
download | libseccomp-b29fcac12735967f594223389cd06e41d3d07b48.tar.gz |
all: convert some booleans from ints to bools
Make it more obvious that these variables are booleans.
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-x86.h')
-rw-r--r-- | src/arch-x86.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch-x86.h b/src/arch-x86.h index 2383f76..a399559 100644 --- a/src/arch-x86.h +++ b/src/arch-x86.h @@ -22,6 +22,8 @@ #ifndef _ARCH_X86_H #define _ARCH_X86_H +#include <stdbool.h> + #include "arch.h" #include "db.h" #include "system.h" @@ -33,10 +35,9 @@ extern const struct arch_def arch_def_x86; int x86_syscall_resolve_name(const char *name); const char *x86_syscall_resolve_num(int num); -int x86_syscall_rewrite(const struct arch_def *arch, unsigned int strict, - int *syscall); +int x86_syscall_rewrite(const struct arch_def *arch, bool strict, int *syscall); -int x86_filter_rewrite(const struct arch_def *arch, unsigned int strict, +int x86_filter_rewrite(const struct arch_def *arch, bool strict, int *syscall, struct db_api_arg *chain); #endif |