Re: [squid-users] chpasswd.cgi: 'make' error (error: conflicting types for)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 9 Feb 2005 10:02:19 +0100 (CET)

On Tue, 8 Feb 2005, thomas wrote:

> [root@localhost chpasswd-1.9.1]# make
> gcc -c -O2 -w -I. -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVc
> chpasswd.c:243: error: conflicting types for 'getword'
> chpasswd.c:131: error: previous implicit declaration of 'getword' was here
> chpasswd.c:261: error: conflicting types for 'Herror'
> chpasswd.c:151: error: previous implicit declaration of 'Herror' was here
>

Try adding the following two lines near the top of chpasswd.c, just after
the #include lines:

void getword(char *word, char *line, char stop);
void Herror(char *msg, FILE * fpw, FILE * tmp):

Regards
Henrik
Received on Wed Feb 09 2005 - 02:02:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST