diff options
author | Benji Dial <benji6283@gmail.com> | 2021-01-24 12:00:11 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-01-24 12:00:11 -0500 |
commit | bce944d1498eaa3b6940ee234c863b3548a66b37 (patch) | |
tree | ea40c087ab4f0f236aee8d158cf68550f5209f72 /src/kernel/util.h | |
parent | ca731aa747214919df7b3dfe3478dbe787ce5b68 (diff) | |
download | portland-os-bce944d1498eaa3b6940ee234c863b3548a66b37.tar.gz |
graphics!
Diffstat (limited to 'src/kernel/util.h')
-rw-r--r-- | src/kernel/util.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/util.h b/src/kernel/util.h index 9fa8002..c5b784a 100644 --- a/src/kernel/util.h +++ b/src/kernel/util.h @@ -44,11 +44,11 @@ static inline uint32_t ind(uint16_t port) { void memcpy(void *to, const void *from, uint32_t n); void fmcpy(void *to, const struct drive *d, file_id_t f, uint32_t from, uint32_t n); -void u32_dec(uint32_t n, char *b); -void u16_dec(uint16_t n, char *b); -void u8_dec(uint8_t n, char *b); +uint8_t u32_dec(uint32_t n, char *b); +uint8_t u16_dec(uint16_t n, char *b); +uint8_t u8_dec(uint8_t n, char *b); void u32_hex(uint32_t n, char *b); void u16_hex(uint16_t n, char *b); void u8_hex(uint8_t n, char *b); -#endif
\ No newline at end of file +#endif |