fixed misplaced function prototype in query.c