From 0fdf9b3ed716a8baf048e7e302c4d9e727999df2 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 30 Dec 2025 20:29:48 +0000 Subject: 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. --- src/con_.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/con_.c') 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"); } -- cgit v1.2.3-54-g00ecf