diff options
author | Robert Morris <[email protected]> | 2024-01-02 10:04:23 -0500 |
---|---|---|
committer | Robert Morris <[email protected]> | 2024-01-02 10:04:23 -0500 |
commit | 3c0a25fc4383140b3f8bf83f5eef4cbb14062e94 (patch) | |
tree | 96b8c9987973ece5798f45534e0bd6b954fdff9d /user/user.h | |
parent | 3808f903625f42f58aa95e43e3caca3efaa4d118 (diff) | |
download | xv6-labs-3c0a25fc4383140b3f8bf83f5eef4cbb14062e94.tar.gz xv6-labs-3c0a25fc4383140b3f8bf83f5eef4cbb14062e94.tar.bz2 xv6-labs-3c0a25fc4383140b3f8bf83f5eef4cbb14062e94.zip |
x
Diffstat (limited to 'user/user.h')
-rw-r--r-- | user/user.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/user/user.h b/user/user.h index 16cf173..2d6ace6 100644 --- a/user/user.h +++ b/user/user.h @@ -1,3 +1,7 @@ +#ifdef LAB_MMAP +typedef unsigned long size_t; +typedef long int off_t; +#endif struct stat; // system calls @@ -47,4 +51,6 @@ void free(void*); int atoi(const char*); int memcmp(const void *, const void *, uint); void *memcpy(void *, const void *, uint); +#ifdef LAB_LOCK int statistics(void*, int); +#endif |