summaryrefslogtreecommitdiff
path: root/Libraries/LibC/mman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibC/mman.cpp')
-rw-r--r--Libraries/LibC/mman.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/Libraries/LibC/mman.cpp b/Libraries/LibC/mman.cpp
index 8ee60929e9..3b08420931 100644
--- a/Libraries/LibC/mman.cpp
+++ b/Libraries/LibC/mman.cpp
@@ -45,18 +45,6 @@ int set_mmap_name(void* addr, size_t size, const char* name)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
-int shm_open(const char* name, int flags, mode_t mode)
-{
- int rc = syscall(SC_shm_open, name, flags, mode);
- __RETURN_WITH_ERRNO(rc, rc, -1);
-}
-
-int shm_unlink(const char* name)
-{
- int rc = syscall(SC_shm_unlink, name);
- __RETURN_WITH_ERRNO(rc, rc, -1);
-}
-
int madvise(void* address, size_t size, int advice)
{
int rc = syscall(SC_madvise, address, size, advice);