aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-09-21 12:46:52 +0200
committerKenny Levinsen <kl@kl.wtf>2021-09-21 12:48:24 +0200
commite2baadc23047edaccc4a7d3d95e6ba8c30f75851 (patch)
tree9faa269c82396b64f8b72f41a8c6dc14409537a2 /include
parentdb08fb921f8ea13202a487dcea2fdd3914b87dfd (diff)
clang-format: Fix alignment
Diffstat (limited to 'include')
-rw-r--r--include/protocol.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/protocol.h b/include/protocol.h
index cb994fc..25133e5 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -1,10 +1,10 @@
#ifndef _SEATD_CONSTANTS_H
#define _SEATD_CONSTANTS_H
-#define MAX_PATH_LEN 256
-#define MAX_SEAT_LEN 64
+#define MAX_PATH_LEN 256
+#define MAX_SEAT_LEN 64
#define MAX_SEAT_DEVICES 128
-#define MAX_SESSION_LEN 64
+#define MAX_SESSION_LEN 64
#define CLIENT_EVENT(opcode) (opcode)
#define SERVER_EVENT(opcode) ((opcode) + (1 << 15))
@@ -15,7 +15,7 @@
#define CLIENT_CLOSE_DEVICE CLIENT_EVENT(4)
#define CLIENT_DISABLE_SEAT CLIENT_EVENT(5)
#define CLIENT_SWITCH_SESSION CLIENT_EVENT(6)
-#define CLIENT_PING CLIENT_EVENT(7)
+#define CLIENT_PING CLIENT_EVENT(7)
#define SERVER_SEAT_OPENED SERVER_EVENT(1)
#define SERVER_SEAT_CLOSED SERVER_EVENT(2)
@@ -23,8 +23,8 @@
#define SERVER_DEVICE_CLOSED SERVER_EVENT(4)
#define SERVER_DISABLE_SEAT SERVER_EVENT(5)
#define SERVER_ENABLE_SEAT SERVER_EVENT(6)
-#define SERVER_PONG SERVER_EVENT(7)
-#define SERVER_ERROR SERVER_EVENT(0x7FFF)
+#define SERVER_PONG SERVER_EVENT(7)
+#define SERVER_ERROR SERVER_EVENT(0x7FFF)
#include <stdint.h>