If the functions get_dh*() are declared static, they should be defined the same way