From 9e746d42d2e3faa526f12ba222f5ee6924dd30f9 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 26 Dec 2025 10:08:33 +0100 Subject: feat! breaking API changes, use header guards and libSystem fixes. Signed-off-by: Amlal El Mahrouss --- src/libMsg/MsgKit/Network.h | 7 +++++-- src/libMsg/MsgKit/Server.h | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'src/libMsg') diff --git a/src/libMsg/MsgKit/Network.h b/src/libMsg/MsgKit/Network.h index ca7cf2d3..7a3ea2d9 100644 --- a/src/libMsg/MsgKit/Network.h +++ b/src/libMsg/MsgKit/Network.h @@ -4,6 +4,9 @@ ======================================== */ -#pragma once +#ifndef MSGKIT_NETWORK_H +#define MSGKIT_NETWORK_H -#include \ No newline at end of file +#include + +#endif diff --git a/src/libMsg/MsgKit/Server.h b/src/libMsg/MsgKit/Server.h index b75fb96a..d7325ba9 100644 --- a/src/libMsg/MsgKit/Server.h +++ b/src/libMsg/MsgKit/Server.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef MSGKIT_SERVER_H +#define MSGKIT_SERVER_H #ifdef __cplusplus #include @@ -39,3 +40,5 @@ typedef Void (*libmsg_func_type)(struct LIBMSG_EXPR* self, VoidPtr arg, SizeT ar IMPORT_C Void libmsg_init_library(libmsg_func_type* funcs, SizeT cnt); IMPORT_C UInt32 libmsg_close_library(Void); IMPORT_C UInt32 libmsg_eval_expr(struct LIBMSG_EXPR* head); + +#endif -- cgit v1.2.3