Add missing declaration of print_hex function