aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2026-03-27 20:03:25 +0100
committerGopher Robot <gobot@golang.org>2026-03-30 06:44:35 -0700
commit3de9e7a0678abeecf9c4b7879ff53213ae879d08 (patch)
treeaf0e03f59d8e37851665d8a6df7bcceb757e5777 /src/runtime
parentd247ed00e498e9717fb7c80d126bee5a8afdb4e8 (diff)
downloadgo-3de9e7a0678abeecf9c4b7879ff53213ae879d08.tar.xz
runtime/cgo: remove unused _cgo_openbsd_try_pthread_create prototype
The function is no longer defined since CL 40331. Remove its prototype from libcgo_unix.h as well. Change-Id: I155ca632cd61bddcd798def691856c04b03040d7 Reviewed-on: https://go-review.googlesource.com/c/go/+/760163 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Florian Lehner <lehner.florian86@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/cgo/libcgo_unix.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/runtime/cgo/libcgo_unix.h b/src/runtime/cgo/libcgo_unix.h
index 604fd5dc1b..c765f6cb32 100644
--- a/src/runtime/cgo/libcgo_unix.h
+++ b/src/runtime/cgo/libcgo_unix.h
@@ -9,11 +9,4 @@
*/
extern int _cgo_try_pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*);
-/*
- * Same as _cgo_try_pthread_create, but passing on the pthread_create function.
- * Only defined on OpenBSD.
- */
-extern int _cgo_openbsd_try_pthread_create(int (*)(pthread_t*, const pthread_attr_t*, void *(*pfn)(void*), void*),
- pthread_t*, const pthread_attr_t*, void* (*)(void*), void* arg);
-
extern void* threadentry(void*);