From: Jay Freeman (saurik) Date: Fri, 21 Dec 2007 02:21:44 +0000 (+0000) Subject: Disuse of hexdump. X-Git-Url: https://git.saurik.com/minimal.git/commitdiff_plain/ebea5a12f9e72a552e22487777681b3e9c8c2de8 Disuse of hexdump. --- diff --git a/hexdump.h b/hexdump.h index f72a473..9b2cadf 100644 --- a/hexdump.h +++ b/hexdump.h @@ -40,11 +40,11 @@ #include "minimal/stdlib.h" -char hexchar(uint8_t value) { +_disused static char hexchar(uint8_t value) { return value < 0x20 || value >= 0x80 ? '.' : value; } -void hexdump(const char *mark, const uint8_t *data, size_t size) { +_disused static void hexdump(const char *mark, const uint8_t *data, size_t size) { int i = 0, j; while (i != size) {