Yes, but you don't need the extern for function declarations as they have external linkage by default.