diff options
Diffstat (limited to '')
-rw-r--r-- | linux/syscall-table.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/syscall-table.c b/linux/syscall-table.c index 5a5d9c2..0b1e0a0 100644 --- a/linux/syscall-table.c +++ b/linux/syscall-table.c @@ -43,8 +43,8 @@ #define X(ARCH)\ - LIST_LINUX_SYSCALLS_FOR_##ARCH(MAKE_##ARCH##_SYSCALL_WITHOUT_COMPAT, MAKE_##ARCH##_SYSCALL_WITH_COMPAT, ;) -LIST_LINUX_ARCHES(X, ;); + LIST_LINUX_SYSCALLS_FOR_##ARCH(MAKE_##ARCH##_SYSCALL_WITHOUT_COMPAT, MAKE_##ARCH##_SYSCALL_WITH_COMPAT, ;); +LIST_LINUX_ARCHES_WITHOUT_ENDIANS(X,) #undef X #ifndef CREATING_DEDUP_TABLE @@ -57,13 +57,13 @@ LIST_LINUX_ARCHES(X, ;); #define X(ARCH)\ static const struct libsyscalls_syscall *const linux_##ARCH##_syscalls_table[] = {\ LIST_LINUX_SYSCALLS_FOR_##ARCH(MAKE_##ARCH##_SYSCALL_TABLE_ENTRY, MAKE_##ARCH##_SYSCALL_TABLE_ENTRY, COMMA)\ - } -LIST_LINUX_ARCHES(X, ;); + }; +LIST_LINUX_ARCHES_WITHOUT_ENDIANS(X,) #undef X - const struct libsyscalls_syscall *const *const libsyscalls_linux_syscalls_table_[] = { -#define X(ARCH) [LIBSYSCALLS_ARCH_##ARCH] = linux_##ARCH##_syscalls_table +#define X(ARCH)\ + [LIBSYSCALLS_ARCH_##ARCH] = linux_##ARCH##_syscalls_table LIST_LINUX_ARCHES(X, COMMA) #undef X }; |