conflicting types for ‘getline’