summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2022-01-07 00:36:18 -0800
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-01-07 01:18:57 -0800
commit856fc760837912e29bac5592ef76a22f9315e41c (patch)
treec03123ae6ad049fbfc2a26a7db0f763a23f19b7b /Userland
parentf4dd388cafb5f650b8d9ebdacd2c22cef3f2bb01 (diff)
downloadserenity-856fc760837912e29bac5592ef76a22f9315e41c.zip
LibPthread: Remove bad spec link for pthread_{get/set}name_np APIs
I had somehow incorrectly added this link in a previous check-in. Reported-by: Nico Weber <thakis@chromium.org>
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibPthread/pthread.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibPthread/pthread.cpp b/Userland/Libraries/LibPthread/pthread.cpp
index 2e6471c5e6..f585578094 100644
--- a/Userland/Libraries/LibPthread/pthread.cpp
+++ b/Userland/Libraries/LibPthread/pthread.cpp
@@ -515,7 +515,6 @@ int pthread_setspecific(pthread_key_t key, const void* value)
return __pthread_setspecific(key, value);
}
-// https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_setname_np.html
int pthread_setname_np(pthread_t thread, const char* name)
{
if (!name)
@@ -524,7 +523,6 @@ int pthread_setname_np(pthread_t thread, const char* name)
__RETURN_PTHREAD_ERROR(rc);
}
-// https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_getname_np.html
int pthread_getname_np(pthread_t thread, char* buffer, size_t buffer_size)
{
int rc = syscall(SC_get_thread_name, thread, buffer, buffer_size);