Browse Source

libc: stub __cxa_atexit

K. Lange 4 years ago
parent
commit
09c407235e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      libc/dlfcn/dlfcn.c

+ 5 - 0
libc/dlfcn/dlfcn.c

@@ -21,3 +21,8 @@ void * dlsym(void * handle, const char * symbol) {
 char * dlerror(void) {
 	return error;
 }
+
+int __cxa_atexit(void (*fn)(void *), void * arg, void *d) {
+	return 0;
+}
+