summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorManuel Bentele2021-03-04 08:47:43 +0100
committerManuel Bentele2021-03-04 08:47:43 +0100
commit2b5631eaa444023043a18ff3985f5a0e7a11436a (patch)
tree4f27eaf01b80eea60d5f9b65023c8db2635ec8b5 /inc
parent[BUILD] Add build support for Github actions (diff)
downloaddnbd3-2b5631eaa444023043a18ff3985f5a0e7a11436a.tar.gz
dnbd3-2b5631eaa444023043a18ff3985f5a0e7a11436a.tar.xz
dnbd3-2b5631eaa444023043a18ff3985f5a0e7a11436a.zip
[BUILD] Add support in CMake to validate (lint) the source code
Diffstat (limited to 'inc')
-rw-r--r--inc/dnbd3/shared/serialize.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/dnbd3/shared/serialize.h b/inc/dnbd3/shared/serialize.h
index a7a1ced..b808fd0 100644
--- a/inc/dnbd3/shared/serialize.h
+++ b/inc/dnbd3/shared/serialize.h
@@ -4,8 +4,7 @@
#include <dnbd3/config.h>
#include <dnbd3/types.h>
-typedef struct
-{
+typedef struct {
char buffer[MAX_PAYLOAD]; // This MUST be the first member or send_reply() will blow up
char *buffer_end;
char *buffer_pointer;