aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls_fuchsia.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/syscalls_fuchsia.h')
-rw-r--r--executor/syscalls_fuchsia.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/executor/syscalls_fuchsia.h b/executor/syscalls_fuchsia.h
index 205736e09..4f88c60b6 100644
--- a/executor/syscalls_fuchsia.h
+++ b/executor/syscalls_fuchsia.h
@@ -6,8 +6,8 @@
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
-unsigned syscall_count = 157;
-call_t syscalls[] = {
+#define SYZ_SYSCALL_COUNT 157
+const call_t syscalls[] = {
{"chdir", 0, (syscall_t)chdir},
{"chmod", 0, (syscall_t)chmod},
{"chown", 0, (syscall_t)chown},
@@ -175,8 +175,8 @@ call_t syscalls[] = {
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
-unsigned syscall_count = 157;
-call_t syscalls[] = {
+#define SYZ_SYSCALL_COUNT 157
+const call_t syscalls[] = {
{"chdir", 0, (syscall_t)chdir},
{"chmod", 0, (syscall_t)chmod},
{"chown", 0, (syscall_t)chown},