added C and include for the libhdate header
fixed a type in function name