tighten up prototype declartion to cleanup warning on gcc/freebsd