xfree86: silence warnings on SYSCALL() macro

> ../hw/xfree86/os-support/shared/posix_tty.c:366:38: warning: while loop has empty body [-Wempty-body]
>    366 |     SYSCALL(r = read(fd, buf, count));
>        |                                      ^

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-11 13:51:36 +01:00
committed by Enrico Weigelt
parent 4758a162b7
commit c2d60070ad

View File

@@ -234,7 +234,7 @@ struct pcvtid {
#define MAP_FAILED ((void *)-1)
#endif
#define SYSCALL(call) while(((call) == -1) && (errno == EINTR))
#define SYSCALL(call) while(((call) == -1) && (errno == EINTR)) {}
#include "xf86_OSproc.h"