summaryrefslogtreecommitdiffstats
path: root/src/lib/user/syscall.h
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-02-19 12:14:36 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-02-19 12:15:29 +0100
commit495d3cf2bdf5e1ce0654f37a3d983d55e098964d (patch)
treed150e97c258e079eccd3fef4b5a92f622974550d /src/lib/user/syscall.h
parent3ed3ba31adb9c84bcca000a5f31c5278211bd3ae (diff)
downloadpintos-495d3cf2bdf5e1ce0654f37a3d983d55e098964d.tar.gz
prepare for lab 3
Diffstat (limited to 'src/lib/user/syscall.h')
-rw-r--r--src/lib/user/syscall.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/user/syscall.h b/src/lib/user/syscall.h
index 8a9e0c0..a152dd1 100644
--- a/src/lib/user/syscall.h
+++ b/src/lib/user/syscall.h
@@ -4,9 +4,7 @@
#include <stdbool.h>
#include <debug.h>
-/* Process identifier. */
-typedef int pid_t;
-#define PID_ERROR ((pid_t) -1)
+#include "lib/pid_t.h"
/* Map region identifier. */
typedef int mapid_t;