Update getpoint.c