fix prototype warning from pgi