summaryrefslogtreecommitdiff
path: root/include/iopause.h
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-09 14:41:53 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-09 14:41:53 +0200
commit5fadc0cbb8577c61d66bd6f19ceaf0507c11e23b (patch)
tree684758441f5b431d0008253243034b6a4a29417c /include/iopause.h
parent249866e3d1e11dc72eaa1305f4bb479ded92ef38 (diff)
initial clang-format
Diffstat (limited to 'include/iopause.h')
-rw-r--r--include/iopause.h12
1 files changed, 6 insertions, 6 deletions
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 <sys/types.h>
#ifdef HAS_POLL_H
-#include <poll.h>
+ #include <poll.h>
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