diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-10 17:26:01 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-10 17:26:01 -0600 |
commit | 7146166ce00e1f6ad3a35d7e1e4bf778b74272e1 (patch) | |
tree | 61dddfb0735fe841a0e1c56ea331a360a2d2dad0 /libmisc/fmt.c | |
parent | cd5768ef4bc36b33699539d9656f455bafb0de0c (diff) | |
parent | 6eafa9fd3a49289d34007a018b6d1fba8e4b7e24 (diff) |
Merge branch 'lukeshu/obj-meth'
Diffstat (limited to 'libmisc/fmt.c')
-rw-r--r-- | libmisc/fmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmisc/fmt.c b/libmisc/fmt.c index 7c18ef5..175ad60 100644 --- a/libmisc/fmt.c +++ b/libmisc/fmt.c @@ -253,14 +253,14 @@ declare(16, 64); /* fmt_buf ********************************************************************/ -LO_IMPLEMENTATION_C(fmt_dest, struct fmt_buf, fmt_buf, static); +LO_IMPLEMENTATION_C(fmt_dest, struct fmt_buf, fmt_buf); -static void fmt_buf_putb(struct fmt_buf *buf, uint8_t b) { +void fmt_buf_putb(struct fmt_buf *buf, uint8_t b) { if (buf->len < buf->cap) ((uint8_t *)(buf->dat))[buf->len] = b; buf->len++; } -static size_t fmt_buf_tell(struct fmt_buf *buf) { +size_t fmt_buf_tell(struct fmt_buf *buf) { return buf->len; } |