Comment out hexdump().

Nothing currently uses them but they cause conflicts on at least
FreeBSD, possibly others.  ok djm@
This commit is contained in:
Darren Tucker 2018-02-26 14:51:59 +11:00
parent 5aea4aa522
commit 534b2680a1
2 changed files with 5 additions and 1 deletions

View File

@ -21,9 +21,11 @@ void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes)
}
}
#if 0
void hexdump(const unsigned char *a, size_t len)
{
size_t i;
for (i = 0; i < len; i++)
printf("%02x", a[i]);
}
#endif

View File

@ -11,5 +11,7 @@ Public domain.
#include <stdint.h>
void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
#if 0
void hexdump(const unsigned char *a, size_t len);
#endif
#endif
#endif