aboutsummaryrefslogtreecommitdiff
path: root/src/packet.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-05-15 21:45:48 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-05-15 21:45:48 +0300
commit941b018bafdaa0d31a30b89959e717fd780b7db1 (patch)
tree91030508a45705e8df8e02c99feec94b3808093e /src/packet.c
parent40cd4e6e250c6a32a3072bca40248bd4b8ef9a24 (diff)
downloadgran-941b018bafdaa0d31a30b89959e717fd780b7db1.tar.gz
gran-941b018bafdaa0d31a30b89959e717fd780b7db1.zip
format
Diffstat (limited to 'src/packet.c')
-rw-r--r--src/packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/packet.c b/src/packet.c
index 3582020..c5ece05 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -25,7 +25,8 @@ struct packet *create_packet(enum packet_type type, uintptr_t addr, size_t size)
return pkt;
}
-struct packet *create_packet_with(enum packet_type type, uintptr_t addr, size_t size, void *data)
+struct packet *create_packet_with(enum packet_type type, uintptr_t addr,
+ size_t size, void *data)
{
struct packet *pkt = calloc(1, sizeof(struct packet));
if (!pkt)