Merge "Move rs.h functions over to extern "C"."