diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-12 20:01:53 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-12 20:01:53 -0600 |
commit | 28c8e08b08eea3b6c146f41829244a23524893a5 (patch) | |
tree | 9764b1c785e97c6fbf7a418bbe912a0e05103dc1 /cmd/sbc_harness/ihex.c | |
parent | 0474953ab2600ee3b6bc17ba605b8e7877e181fe (diff) | |
parent | ed116aceb41a80a212bb67e49716bbd40d88a3a1 (diff) |
Diffstat (limited to 'cmd/sbc_harness/ihex.c')
-rw-r--r-- | cmd/sbc_harness/ihex.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/sbc_harness/ihex.c b/cmd/sbc_harness/ihex.c index 565ad16..5a7f6d5 100644 --- a/cmd/sbc_harness/ihex.c +++ b/cmd/sbc_harness/ihex.c @@ -15,6 +15,7 @@ #include "ihex.h" LO_IMPLEMENTATION_C(io_writer, struct ihex_decoder, ihex_decoder); +LO_IMPLEMENTATION_C(io_closer, struct ihex_decoder, ihex_decoder); enum ihex_record_type { /* [U]SBA: [Upper] Segment Base Address : SBA = USBA<< 4 */ @@ -223,3 +224,8 @@ size_t_and_error ihex_decoder_writev(struct ihex_decoder *self, const struct iov } return ERROR_AND(size_t, total, ERROR_NULL); } + +error ihex_decoder_close(struct ihex_decoder *self) { + error_cleanup(&self->sticky_err); + return ERROR_NULL; +} |