Re: [PATCH libinput] tools: libinput-debug-events stop variable needs volatile

2018-03-14 Thread Peter Hutterer
On Tue, Mar 13, 2018 at 09:28:22PM +0100, Peter Seiderer wrote: > The stop variable set in the signal handler needs > volatile (and use the defined sig_atomic_t instead > of unsigned int). > > Signed-off-by: Peter Seiderer > --- > tools/libinput-debug-events.c | 2 +- > 1 file changed, 1 inserti

[PATCH libinput] tools: libinput-debug-events stop variable needs volatile

2018-03-14 Thread Peter Seiderer
The stop variable set in the signal handler needs volatile (and use the defined sig_atomic_t instead of unsigned int). Signed-off-by: Peter Seiderer --- tools/libinput-debug-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libinput-debug-events.c b/tools/libinpu