added proximity.c
fixed timespec pointer