added prototype for rotate_point2d_long