aboutsummaryrefslogtreecommitdiff
path: root/src/system/inc
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-07-07 02:44:08 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-07-07 02:45:23 +0200
commite50aad2a6d69093a10a9157600f4a23fc731b7b3 (patch)
tree9bf0b1309c6b2a63afdd783a6e529d2da70c6a73 /src/system/inc
parentdc4a3a2db894e8e7bb0be620b90780d55c74accd (diff)
downloadjancity-e50aad2a6d69093a10a9157600f4a23fc731b7b3.tar.gz
Implement system_can_exit
Diffstat (limited to 'src/system/inc')
-rw-r--r--src/system/inc/system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system/inc/system.h b/src/system/inc/system.h
index 5338a0b..4183401 100644
--- a/src/system/inc/system.h
+++ b/src/system/inc/system.h
@@ -1,6 +1,8 @@
#ifndef SYSTEM_H
#define SYSTEM_H
+#include <stdbool.h>
+
#ifdef __cplusplus
extern "C"
{
@@ -9,6 +11,7 @@ extern "C"
int system_init(void);
void system_deinit(void);
void system_loop(void);
+bool system_can_exit(void);
#ifdef __cplusplus
}