gcc49 -Wall -O2 -I/usr/local/include -DPREFIX=\"/usr/local\" -c getline.c
In file included from getline.c:38:0:
getline.h:74:5: error: conflicting types for 'getline'
int getline(int fd, struct linebuf * l);
^
In file included from getline.c:30:0:
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/include-fixed/stdio.h:375:10: note: previous declaration of 'getline' was here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
^
getline.c:67:5: error: conflicting types for 'getline'
int getline(int fd, struct linebuf * l){
^
In file included from getline.c:30:0:
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/include-fixed/stdio.h:375:10: note: previous declaration of 'getline' was here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
^
Reported by: pkg-fallout