summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-12-05 21:11:11 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-12-05 21:11:11 +0000
commitec08ab7861f2732f2e438663cd8460677720755a (patch)
tree5c304f6d2215b84f487dc8a81d2da9c1a9efc88e /lib/libc
parentb043f5024cb411110bc0244e21ed9e1cd1df2e18 (diff)
Remove DEF_STRONG(__cxa_thread_atexit_impl). This produces an unwanted
_libc___cxa_thread_atexit_impl reference on gcc architectures that breaks the build.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/atexit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c
index dc117a37524..fe4d5bc79f2 100644
--- a/lib/libc/stdlib/atexit.c
+++ b/lib/libc/stdlib/atexit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atexit.c,v 1.25 2017/12/05 13:45:31 kettenis Exp $ */
+/* $OpenBSD: atexit.c,v 1.26 2017/12/05 21:11:10 kettenis Exp $ */
/*
* Copyright (c) 2002 Daniel Hartmeier
* All rights reserved.
@@ -155,7 +155,6 @@ __cxa_thread_atexit_impl(void (*func)(void *), void *arg, void *dso)
return 0;
}
-DEF_STRONG(__cxa_thread_atexit_impl);
void
_thread_finalize(void)