From b25865cc827f4a6a9c31f3d92a4e443485fd5d93 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Sun, 26 May 2019 14:46:36 +0300 Subject: common: cosmetic changes. Signed-off-by: Gediminas Jakutis --- src/common/protocol.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/common/protocol.c') diff --git a/src/common/protocol.c b/src/common/protocol.c index bae38d8..b2e0d40 100644 --- a/src/common/protocol.c +++ b/src/common/protocol.c @@ -32,8 +32,6 @@ #include "net.h" #include "utils.h" -#define READ_AS(type, from) (*((type*)(from))) - int push_tlv(struct tlv_packet *packet, enum tlv_type type, char *data) { int ret = 0; @@ -132,4 +130,4 @@ size_t tlv_data_size(struct tlv_parser *parser) memcpy(&size, parser->data + parser->offset + sizeof(enum tlv_type), sizeof(size_t)); } return size; -} \ No newline at end of file +} -- cgit v1.2.3