private void removeExternal(Program sourceProgram, ExternalLocation sourceExternalLocation) {
		ExternalLocation resultExternalLocation = SimpleDiffUtility.getMatchingExternalLocation(
			sourceProgram, sourceExternalLocation, programs[RESULT], false);
		if (resultExternalLocation == null) {
			return;
		}
		Address externalSpaceAddress = resultExternalLocation.getExternalSpaceAddress();
		if (resultExternalLocation.isFunction()) {
			functionManagers[RESULT].removeFunction(externalSpaceAddress);
			// See if the location is now just a label.
			resultExternalLocation = SimpleDiffUtility.getMatchingExternalLocation(sourceProgram,
				sourceExternalLocation, programs[RESULT], false);
			if (resultExternalLocation == null) {
				return;
			}
		}
		Symbol symbol = resultExternalLocation.getSymbol();
		if (symbol != null) {
			symbol.delete();
		}
	}
Removes the indicated external from the result program.
@param sourceProgram the program that is the source of the external location
(Either Latest, My, or Original program.)
@param sourceExternalLocation the external location that indicates which external
is to be removed from the result. (External is from Latest, My, or Original program.)
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/ExternalFunctionMerger.java