summaryrefslogtreecommitdiff
path: root/src/con_.c
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-12-30 20:29:48 +0000
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2026-04-04 01:37:54 +0100
commit0fdf9b3ed716a8baf048e7e302c4d9e727999df2 (patch)
tree675114ca44ca4209dc60b69f3b3e86a76e6aaa66 /src/con_.c
parent7d49288bff1fa4e5bacc0eb69ed46c69db622b76 (diff)
downloadsst-0fdf9b3ed716a8baf048e7e302c4d9e727999df2.tar.gz
sst-0fdf9b3ed716a8baf048e7e302c4d9e727999df2.zip
Size-optimise a little more, and tweak minor stuff
This isn't really making a difference right now but maybe it will in future builds with different section padding or LTO optimiser interactions or whatever.
Diffstat (limited to 'src/con_.c')
-rw-r--r--src/con_.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/con_.c b/src/con_.c
index 56ab57f..c9f48ea 100644
--- a/src/con_.c
+++ b/src/con_.c
@@ -490,18 +490,16 @@ static bool find_Con_ColorPrintf() {
}
#endif
-static void helpuserhelpus(int pluginver, char ifaceverchar) {
+// note: for now at least, not using errmsg_*() macros here because it doesn't
+// really make sense for these messages to be coming from "con"
+static cold void helpuserhelpus(int pluginver, char ifaceverchar) {
con_msg("\n");
con_msg("-- Please include ALL of the following if asking for help:\n");
con_msg("-- plugin: " LONGNAME " v" VERSION "\n");
con_msg("-- interfaces: %d/%c\n", pluginver, ifaceverchar);
con_msg("\n");
}
-
-// note: for now at least, not using errmsg_*() macros here because it doesn't
-// really make sense for these messages to be coming from "con"
-
-static void badver() {
+static inline void badver() {
con_warn("sst: error: this engine version is not yet supported\n");
}