about summary refs log tree commit diff
path: root/mach/mach_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'mach/mach_syscalls.c')
-rw-r--r--mach/mach_syscalls.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mach/mach_syscalls.c b/mach/mach_syscalls.c
new file mode 100644
index 0000000000..44930c33cf
--- /dev/null
+++ b/mach/mach_syscalls.c
@@ -0,0 +1,10 @@
+/* Aliases for basic Mach system calls:
+   mach_task_self -> __mach_task_self, etc.  */
+
+#include <gnu-stabs.h>
+
+#define	SYSCALL(name, number, type, args, typed_args) \
+  function_alias (name, __##name, type, args, \
+		  name typed_args)
+
+#include "mach_syscalls.h"