hex: remove unreferenced type declaration

Presence with gcc -Wunused -Werror produces error.
Merge pull request #1 from pabigot/fixup/hex

hex: remove unreferenced type declaration. Thanks to pabigot.