diff options
| author | 2025-12-30 20:29:48 +0000 | |
|---|---|---|
| committer | 2026-04-04 01:37:54 +0100 | |
| commit | 0fdf9b3ed716a8baf048e7e302c4d9e727999df2 (patch) | |
| tree | 675114ca44ca4209dc60b69f3b3e86a76e6aaa66 /src/con_.c | |
| parent | 7d49288bff1fa4e5bacc0eb69ed46c69db622b76 (diff) | |
| download | sst-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_.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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"); } |
