summaryrefslogtreecommitdiff
path: root/util/grubpo
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 04:21:13 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 04:30:40 +0000
commit72eed0b12c8f944d6906b8b89545bc36f865ad0f (patch)
tree746f2ab79b0cdf3d4ae271ff2e813ff08df50c5f /util/grubpo
parentbbb8825553641f598ce120d3ffd3beb360e60d09 (diff)
util/spkmodem-recv: further portability / cleanup
i used a bunch of global variables. that's gone. added proper externs, including for errno. lots of old unix systems require this. this version should be perfectly polished and portable now. all status is now handled in a struct, making the code a bit easier to understand, because the variables now are clearly pertinent to the state of the decoder, rather than being seemingly random. some indentation reduced. also cleaned up ftell/feof usage again. the new code is a bit more robust when dealing with piped input(which is literally what this program takes, exclusively) i started my cleanup of this tool from GNU GRUB in 2023. i finished it today. also the Openbsd pledge is more portable now (code made to compile on pre-pledge openbsd as well) Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/grubpo')
0 files changed, 0 insertions, 0 deletions