Welcome to little lamb

Code » limb » commit a9960d9

command.h: Add an object with no commands for..

author Olivier Brunel
2023-05-17 07:37:06 UTC
committer Olivier Brunel
2023-07-05 07:37:02 UTC
parent 8b6f5ffd32faec6f737d3b19aac30e49b02ea1c6

command.h: Add an object with no commands for..

..shared linking.

src/liblimb/command.h/command.c +7 -0

diff --git a/src/liblimb/command.h/command.c b/src/liblimb/command.h/command.c
new file mode 100644
index 0000000..913fbf9
--- /dev/null
+++ b/src/liblimb/command.h/command.c
@@ -0,0 +1,7 @@
+/* This file is part of limb                           https://lila.oss/limb
+ * Copyright (C) 2023 Olivier Brunel                          jjk@jjacky.com */
+/* SPDX-License-Identifier: GPL-2.0-only */
+#include <limb/command.h>
+
+struct command *commands[] = { };
+unsigned n_commands = 0;