inn-CURRENT-20020205/lib/conffile.c
Joe St Sauver
JOE at OREGON.UOREGON.EDU
Tue Feb 5 21:36:10 UTC 2002
Hi,
Under linux 2.4.17, inn-CURRENT-20020205/lib/conffile.c has a
declaraction conflict:
gcc -g -O2 -I../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c conffile.c
conffile.c:12: conflicting types for `getline'
/usr/include/bits/stdio.h:103: previous declaration of `getline'
that line in conffile.c reads:
int getline(CONFFILE *F, char *buffer, int length) {
while /usr/include/bits/stdio.h says:
# ifdef __USE_GNU
/* Like `getdelim', but reads up to a newline. */
__STDIO_INLINE _IO_ssize_t
getline (char **__lineptr, size_t *__n, FILE *__stream) __THROW
{
return __getdelim (__lineptr, __n, '\n', __stream);
}
# endif /* GNU */
Regards,
Joe
More information about the inn-workers
mailing list