move newSpark() prototype to RtsExternal.h to avoid warnings