summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-17 00:18:01 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-17 00:18:01 +0100
commit05dbfe9ab60becc862fd8f51a8be85795df20c31 (patch)
tree032da3b9662982dbbe22dab34465e25501c8dc1b /Userland/Libraries/LibC
parent5522e8f59d2a175fb6096f5143d659b742370dc2 (diff)
downloadserenity-05dbfe9ab60becc862fd8f51a8be85795df20c31.zip
Kernel: Remove sys$shbuf_seal() and userland wrappers
There are no remaining users of this syscall so let it go. :^)
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/serenity.cpp6
-rw-r--r--Userland/Libraries/LibC/serenity.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/Userland/Libraries/LibC/serenity.cpp b/Userland/Libraries/LibC/serenity.cpp
index 730f37932a..eb25403262 100644
--- a/Userland/Libraries/LibC/serenity.cpp
+++ b/Userland/Libraries/LibC/serenity.cpp
@@ -95,12 +95,6 @@ int shbuf_release(int shbuf_id)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
-int shbuf_seal(int shbuf_id)
-{
- int rc = syscall(SC_shbuf_seal, shbuf_id);
- __RETURN_WITH_ERRNO(rc, rc, -1);
-}
-
int shbuf_create(int size, void** buffer)
{
int rc = syscall(SC_shbuf_create, size, buffer);
diff --git a/Userland/Libraries/LibC/serenity.h b/Userland/Libraries/LibC/serenity.h
index f1abc160bd..b3e8e7f3c2 100644
--- a/Userland/Libraries/LibC/serenity.h
+++ b/Userland/Libraries/LibC/serenity.h
@@ -37,7 +37,6 @@ int shbuf_create(int, void** buffer);
int shbuf_allow_pid(int, pid_t peer_pid);
void* shbuf_get(int shbuf_id, size_t* size);
int shbuf_release(int shbuf_id);
-int shbuf_seal(int shbuf_id);
int module_load(const char* path, size_t path_length);
int module_unload(const char* name, size_t name_length);