diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/exit.c | 2 | ||||
-rw-r--r-- | stdlib/fmtmsg.c | 3 | ||||
-rw-r--r-- | stdlib/setenv.c | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/stdlib/exit.c b/stdlib/exit.c index 1cd0bdfe94..d6c188b739 100644 --- a/stdlib/exit.c +++ b/stdlib/exit.c @@ -20,7 +20,7 @@ #include <unistd.h> #include <pointer_guard.h> #include <libc-lock.h> -#include <libio/libioP.h> +#include <set-freeres.h> #include "exit.h" /* Initialize the flag that indicates exit function processing diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c index b631ef3d01..3d9a0edf12 100644 --- a/stdlib/fmtmsg.c +++ b/stdlib/fmtmsg.c @@ -361,7 +361,8 @@ __addseverity (int severity, const char *string) weak_alias (__addseverity, addseverity) -libc_freeres_fn (free_mem) +void +__libc_fmtmsg_freemem (void) { struct severity_info *runp = severity_list; diff --git a/stdlib/setenv.c b/stdlib/setenv.c index 2fa9e41e31..ba5257d3bf 100644 --- a/stdlib/setenv.c +++ b/stdlib/setenv.c @@ -323,7 +323,8 @@ clearenv (void) return 0; } #ifdef _LIBC -libc_freeres_fn (free_mem) +void +__libc_setenv_freemem (void) { /* Remove all traces. */ clearenv (); |