summaryrefslogtreecommitdiff
path: root/src/build
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/build
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/build')
-rw-r--r--src/build/gluegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/gluegen.c b/src/build/gluegen.c
index b0649ca..9c64eeb 100644
--- a/src/build/gluegen.c
+++ b/src/build/gluegen.c
@@ -739,7 +739,7 @@ F( "extern struct con_var *%.*s;", cvar_names[i].len, cvar_names[i].s);
F( "extern struct con_cmd *%.*s;", ccmd_names[i].len, ccmd_names[i].s);
}
_( "")
-_( "static inline void preinitfeatures() {")
+_( "static inline opt_small void preinitfeatures() {")
for (int i = 1; i < nmods; ++i) {
if (mod_flags[i] & HAS_PREINIT) {
F( " feats.preinit_%.*s = _feat_preinit_%.*s();",