Before revision: They were used to avoid midair collisions between aircraft operations in the same or adjacent airspace, and sometimes to give warning of airstrikes.
After revision: They were used to avoid midair collisions between aircraft in the same or adjacent airspace, and sometimes to give warning of airstrikes.