From 2b5631eaa444023043a18ff3985f5a0e7a11436a Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Thu, 4 Mar 2021 08:47:43 +0100 Subject: [BUILD] Add support in CMake to validate (lint) the source code --- inc/dnbd3/shared/serialize.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inc') 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 #include -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; -- cgit v1.2.3-55-g7522