hex: remove unreferenced type declaration

Presence with gcc -Wunused -Werror produces error.