diff options
author | Paul Moore <pmoore@redhat.com> | 2012-04-02 11:39:53 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2012-04-02 16:03:40 -0400 |
commit | 668ddb6e4b6635d1bed24947868b51fb0376fa7d (patch) | |
tree | af9477760d6bcc1da4e0314f2d8f013d55828fb9 /src/arch-x86_64.h | |
parent | 2dca3086e80e8054995be51542cd9d30dc54b9ae (diff) | |
download | libseccomp-668ddb6e4b6635d1bed24947868b51fb0376fa7d.tar.gz |
all: use the system header files when possible
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-x86_64.h')
-rw-r--r-- | src/arch-x86_64.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch-x86_64.h b/src/arch-x86_64.h index c7e1976..9d9b311 100644 --- a/src/arch-x86_64.h +++ b/src/arch-x86_64.h @@ -25,11 +25,11 @@ #include <inttypes.h> #include "arch.h" +#include "system.h" #define x86_64_arg_count_max 6 -#define x86_64_arg_offset(x) (8 + ((x) * 8)) -#define x86_64_arg_offset_lo(x) (x86_64_arg_offset(x)) -#define x86_64_arg_offset_hi(x) (x86_64_arg_offset(x) + 4) +#define x86_64_arg_offset_lo(x) (arch_arg_offset(x)) +#define x86_64_arg_offset_hi(x) (arch_arg_offset(x) + 4) #endif |