add function statement in zimg.c.