diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/fmtmsg.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c index 660df1fdcb..37c641c7ef 100644 --- a/stdlib/fmtmsg.c +++ b/stdlib/fmtmsg.c @@ -390,8 +390,7 @@ addseverity (int severity, const char *string) } -static void __attribute__ ((unused)) -free_mem (void) +libc_freeres_fn (free_mem) { struct severity_info *runp = severity_list; @@ -407,4 +406,3 @@ free_mem (void) else runp = runp->next; } -text_set_element (__libc_subfreeres, free_mem); |