Skip to content

Commit 4964b5c

Browse files
committed
[min] add stub for __register_exitproc to save memory
1 parent 1014451 commit 4964b5c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Utilities/Stubs/stubs.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,14 @@ void __cxa_guard_abort(__guard *g) {
5353
chSysUnlock();
5454
}
5555

56+
57+
58+
int __register_exitproc(int type, void (*fn) (void), void *arg, void *d) {
59+
(void) type;
60+
(void) fn;
61+
(void) arg;
62+
(void) d;
63+
64+
65+
return 0;
66+
}

0 commit comments

Comments
 (0)