0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

construct: Tweak usererrstr formatting; minor cleanup.

This commit is contained in:
Jason Volk 2019-05-09 16:49:19 -07:00
parent d90d06307d
commit 1ae664f6a0

View file

@ -16,11 +16,6 @@
#include "signals.h"
#include "console.h"
static bool startup_checks();
static void applyargs();
static void enable_coredumps();
static int print_version();
bool printversion;
bool cmdline;
bool quietmode;
@ -75,12 +70,21 @@ const char *const fatalerrstr
const char *const usererrstr
{R"(
***
*** A fatal startup error has occurred. Please fix the problem to continue. ***
*** A fatal startup error has occurred:
***
%s
***
*** Please fix the problem to continue.
***
)"};
static bool startup_checks();
static void applyargs();
static void enable_coredumps();
static int print_version();
int
main(int _argc, char *const *_argv, char *const *const _envp)
noexcept try