X-Git-Url: http://git.madism.org/?p=apps%2Fpfixtools.git;a=blobdiff_plain;f=common%2Fcommon.c;h=63f0d9ab4663e6102b0fcc5564fa8d2baa305bfa;hp=9fdf961a45c1a1bbb5ff13509318ff1094267726;hb=84bb99c3a5a18d3471607db1c8af880b40158572;hpb=f78d6baee60179e6ce41cc7058a8df5857116010 diff --git a/common/common.c b/common/common.c index 9fdf961..63f0d9a 100644 --- a/common/common.c +++ b/common/common.c @@ -286,9 +286,9 @@ ARRAY(exitcall_t) static A(exitcall_t) __exit = ARRAY_INIT; -void common_register_exit(exitcall_t _exit) +void common_register_exit(exitcall_t exitcall) { - array_add(__exit, _exit); + array_add(__exit, exitcall); } static void common_shutdown(void)