arinc: declarations and guards for return code variables