aboutsummaryrefslogtreecommitdiff
path: root/sys/tools/syscalls/examples/cpp/test_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/tools/syscalls/examples/cpp/test_syscalls.c')
-rw-r--r--sys/tools/syscalls/examples/cpp/test_syscalls.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/tools/syscalls/examples/cpp/test_syscalls.c b/sys/tools/syscalls/examples/cpp/test_syscalls.c
new file mode 100644
index 000000000000..0e73c8223507
--- /dev/null
+++ b/sys/tools/syscalls/examples/cpp/test_syscalls.c
@@ -0,0 +1,19 @@
+/*
+ * System call names.
+ *
+ * DO NOT EDIT-- this file is automatically @generated.
+ */
+
+const char *test_syscallnames[] = {
+ "#0", /* 0 = unimpl_syscall0 */
+#ifdef PLATFORM_FOO
+ "syscall1", /* 1 = syscall1 */
+#else
+ "#1", /* 1 = reserved for local use */
+#endif
+#ifdef PLATFORM_FOO
+ "obs_syscall2", /* 2 = obsolete syscall2 */
+#else
+ "syscall2", /* 2 = syscall2 */
+#endif
+};