gl-fun.h: Fix function type signature