mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 14:34:29 +00:00
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:
committed by
Enrico Weigelt
parent
4758a162b7
commit
c2d60070ad
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user