diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-26 10:08:33 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-26 10:08:33 +0100 |
| commit | 9e746d42d2e3faa526f12ba222f5ee6924dd30f9 (patch) | |
| tree | 7f1a83f69562a2725bb9cda27c31d120640d2c1c /src/libMsg/MsgKit | |
| parent | 731758b271233b9c11052001ffc20a5a2ca1f365 (diff) | |
feat! breaking API changes, use header guards and libSystem fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/libMsg/MsgKit')
| -rw-r--r-- | src/libMsg/MsgKit/Network.h | 7 | ||||
| -rw-r--r-- | src/libMsg/MsgKit/Server.h | 5 |
2 files changed, 9 insertions, 3 deletions
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 <libMsg/MsgKit/Server.h>
\ No newline at end of file +#include <libMsg/MsgKit/Server.h> + +#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 <public/frameworks/CoreFoundation.fwrk/headers/String.h> @@ -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 |
