fixed bad function prototype in logs.h