I think what you're showing is fine, but you should be worried if you ever use an array of s_t
as there might be padding at the end.
You can tell GCC to "pack" the struct using the extension __attribute__
syntax. Add __attribute__((packed))
before the final ;
.