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