fixed main prototype ping.h