From 5fadc0cbb8577c61d66bd6f19ceaf0507c11e23b Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Tue, 9 Jul 2024 14:41:53 +0200 Subject: initial clang-format --- include/iopause.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/iopause.h') diff --git a/include/iopause.h b/include/iopause.h index e3cfa01..871c8eb 100644 --- a/include/iopause.h +++ b/include/iopause.h @@ -5,24 +5,24 @@ #include #ifdef HAS_POLL_H -#include + #include typedef struct pollfd iopause_fd; -#define IOPAUSE_READ POLLIN -#define IOPAUSE_WRITE POLLOUT + #define IOPAUSE_READ POLLIN + #define IOPAUSE_WRITE POLLOUT #else typedef struct { int fd; short events; short revents; } iopause_fd; -#define IOPAUSE_READ 1 -#define IOPAUSE_WRITE 4 + #define IOPAUSE_READ 1 + #define IOPAUSE_WRITE 4 #endif #include "taia.h" -extern int iopause(iopause_fd *,unsigned int,struct taia *,struct taia *); +extern int iopause(iopause_fd *, unsigned int, struct taia *, struct taia *); extern unsigned long pollmax; #endif -- cgit v1.2.3