diff options
Diffstat (limited to 'newlib/libc/stdlib/on_exit.c')
-rw-r--r-- | newlib/libc/stdlib/on_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/on_exit.c b/newlib/libc/stdlib/on_exit.c index b21cf0c..329b254 100644 --- a/newlib/libc/stdlib/on_exit.c +++ b/newlib/libc/stdlib/on_exit.c @@ -68,8 +68,8 @@ const void * const __on_exit_dummy = &__on_exit_args; int _DEFUN (on_exit, (fn, arg), - _VOID _EXFNPTR(fn, (int, _PTR)), - _PTR arg) + _VOID _EXFNPTR(fn, (int, void *)), + void *arg) { return __register_exitproc (__et_onexit, (void (*)(void)) fn, arg, NULL); } |