Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/ledctl/ledctl.c: replace on_exit by atexit
Replace on_exit by atexit to avoid the following musl build failure raised since bcb9042 which partially reverted f08dd2c: /home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-musleabi/12.3.0/../../../../arm-buildroot-linux-musleabi/bin/ld: ledctl-ledctl.o: in function `main': ledctl.c:(.text.startup+0x140): undefined reference to `on_exit' Fixes: - http://autobuild.buildroot.org/results/d535e03f6ee0f43ecea34fb29ea148a4cdc01169 Signed-off-by: Fabrice Fontaine <[email protected]>
- Loading branch information