s3:registry: change reg_import.c according to coding guidelines.