summaryrefslogtreecommitdiff
path: root/src/Runtime/global_destructor_chain.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-01-30 11:25:36 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-01-30 11:25:36 -0400
commit96140b0d163d18c0158f29b2063307efad918e18 (patch)
treee422c051d5ac7767acd1723ddf136ee67132bb52 /src/Runtime/global_destructor_chain.c
parent5c7f3b06b3c04b461c93f8bc03fd7981b041bbd6 (diff)
Global: Add necessary files to test linking
Diffstat (limited to 'src/Runtime/global_destructor_chain.c')
-rw-r--r--src/Runtime/global_destructor_chain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Runtime/global_destructor_chain.c b/src/Runtime/global_destructor_chain.c
index b96c8f3..1f3790d 100644
--- a/src/Runtime/global_destructor_chain.c
+++ b/src/Runtime/global_destructor_chain.c
@@ -10,7 +10,7 @@ extern void *__register_global_object(void *object, dtor_func *destructor, dtor_
return object;
}
-extern void __destroy_global_chain() {
+void __destroy_global_chain() {
dtor_chain *iter = __global_destructor_chain;
while (__global_destructor_chain != 0) {
iter = __global_destructor_chain;