diff options
Diffstat (limited to 'agbx/source/priv')
-rw-r--r-- | agbx/source/priv/init.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/agbx/source/priv/init.c b/agbx/source/priv/init.c new file mode 100644 index 0000000..3ba1f17 --- /dev/null +++ b/agbx/source/priv/init.c @@ -0,0 +1,14 @@ +/* + Copyright 2022 Gabriel Jensen. + This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. + If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. +*/ + +#include <agbx/priv.h> + +agbx_err agbx_main(void); + +[[noreturn]] void __agbx_init(void) { + agbx_err const err = agbx_main(); + agbx_done(err); +} |