summaryrefslogtreecommitdiffstats
path: root/linker/linker_libc_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker_libc_support.c')
-rw-r--r--linker/linker_libc_support.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linker/linker_libc_support.c b/linker/linker_libc_support.c
index 17db6d4..4c49384 100644
--- a/linker/linker_libc_support.c
+++ b/linker/linker_libc_support.c
@@ -15,3 +15,7 @@
*/
#include "../libc/arch-common/bionic/__dso_handle.h"
+
+int atexit(void (*function)(void) __attribute__((__unused__))) {
+ return -1;
+}