Browse Source

Remove DEF_STRONG(__cxa_thread_atexit_impl). This produces an unwanted

_libc___cxa_thread_atexit_impl reference on gcc architectures that breaks
the build.
OPENBSD_6_3
kettenis 7 years ago
parent
commit
29bb9a950c
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/lib/libc/stdlib/atexit.c

+ 1
- 2
src/lib/libc/stdlib/atexit.c View File

@ -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 * Copyright (c) 2002 Daniel Hartmeier
* All rights reserved. * All rights reserved.
@ -155,7 +155,6 @@ __cxa_thread_atexit_impl(void (*func)(void *), void *arg, void *dso)
return 0; return 0;
} }
DEF_STRONG(__cxa_thread_atexit_impl);
void void
_thread_finalize(void) _thread_finalize(void)


Loading…
Cancel
Save