错误:651: note: previous declaration of ‘getline’ was here
error: conflicting types for ‘getline’
pattern.c: In function ‘getline’:
原因:getline和系统定义的getline()函数冲突。把名字改一下就好了。
错误:651: note: previous declaration of ‘getline’ was here
error: conflicting types for ‘getline’
pattern.c: In function ‘getline’:
原因:getline和系统定义的getline()函数冲突。把名字改一下就好了。