summaryrefslogtreecommitdiff
path: root/package/linux-atm/patches/patch-src_sigd_atmsigd_c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-08 19:17:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-09 11:19:00 +0100
commit98fb3d68609e979491b1ec78415da2833a93b424 (patch)
tree7bb0a256ea88e5d8ec06b46173c724525995984c /package/linux-atm/patches/patch-src_sigd_atmsigd_c
parent53fba41bd48da4f553a1bd31391ca1d0144512ac (diff)
package: linux-atm: Revert "fix musl compile"
This reverts commit c5dc60b664fcbba2642346c4b80fc407264337b7. This change breaks when compiling using gcc-14. It is also not correct: on_exit() takes two arguments and passes the exit status to the callback as expected by trace_on_exit() here. In contrast, atexit() expects a callback which does not take any arguments and thus the logic for when to print a trace breaks when using it. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/linux-atm/patches/patch-src_sigd_atmsigd_c')
-rw-r--r--package/linux-atm/patches/patch-src_sigd_atmsigd_c11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/linux-atm/patches/patch-src_sigd_atmsigd_c b/package/linux-atm/patches/patch-src_sigd_atmsigd_c
deleted file mode 100644
index 7eb31abf9..000000000
--- a/package/linux-atm/patches/patch-src_sigd_atmsigd_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-atm-2.5.1.orig/src/sigd/atmsigd.c 2004-09-25 13:25:48.000000000 +0200
-+++ linux-atm-2.5.1/src/sigd/atmsigd.c 2013-08-15 21:22:05.226477574 +0200
-@@ -517,7 +517,7 @@ int main(int argc,char **argv)
- exit(0);
- }
- }
-- (void) on_exit(trace_on_exit,NULL);
-+ (void) atexit(trace_on_exit);
- poll_loop();
- close_all();
- for (sig = entities; sig; sig = sig->next) stop_saal(&sig->saal);