MINOR: wdt: Move the definitions of WDTSIG and DEBUGSIG into types/signal.h.
authorOlivier Houchard <cognet@ci0.org>
Wed, 18 Mar 2020 12:07:19 +0000 (13:07 +0100)
committerOlivier Houchard <cognet@ci0.org>
Wed, 18 Mar 2020 12:07:19 +0000 (13:07 +0100)
commitde01ea9878870dad5df1471743097851f53e7793
tree37fb558a6f9cb5c151d24a15d3530c17bd8dc563
parent1fae8db7b7a9db2a7442674232f1382205947abb
MINOR: wdt: Move the definitions of WDTSIG and DEBUGSIG into types/signal.h.

Move the definition of WDTSIG and DEBUGSIG from wdt.c and debug.c into
types/signal.h, so that we can access them in another file.
We need those definition to avoid blocking those signals when running
__signal_process_queue().

This should be backported to 2.1, 2.0 and 1.9.
include/types/signal.h
src/debug.c
src/wdt.c