linux-atm: Fix compile warning
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Feb 2020 19:39:47 +0000 (20:39 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 24 Feb 2020 22:25:28 +0000 (23:25 +0100)
commit806354ab5350d885b553c7e0d7ad022af2e73e41
tree1ac0b7438c0a060bbf8bddd7091dba3622b62bcd
parent930fc09803f1e75958d573bc55452b8ea61137be
linux-atm: Fix compile warning

The function trace_on_exit() is given to atexit() as a parameter, but
atexit() only takes a function pointer to a function with a void
parameter.

This problem was introduced when the on_exit() function was incompletely
replaced by atexit().

Fixes: ba6c8bd6142f ("linux-atm: add portability fixes")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/utils/linux-atm/patches/400-portability_fixes.patch