summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2022-09-28 17:07:19 +0300
committerkx <kx@radix.pro>2022-09-28 17:07:19 +0300
commit5780fdaca5a2cd49c8218aec48cb6647374089ec (patch)
treeef5c36583f70cf1e24d6d3cf257beb0e832c9d98 /src/main.h
parentd05678abe9422b72583ab3a90c0c6c7db392ca83 (diff)
downloadsila-shell-5780fdaca5a2cd49c8218aec48cb6647374089ec.tar.xz
users list command implementation
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index f0e017c..331c831 100644
--- a/src/main.h
+++ b/src/main.h
@@ -1,4 +1,18 @@
+#ifndef __MAIN_H
+#define __MAIN_H
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int done; /* When non-zero, this global means the user is done using this program. */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __MAIN_H */