Get rid of unc_ctype.h. Any char input is cast to unsigned char.
Unused log_hex_blk is removed in the process.