wlangstroth/thttpd — pull request #1 by h4ck3rm1k3 (2012-03-13 06:34:36+00:00)
Title: compile error on gcc

resolved these issues :
htpasswd.c:52:12: error: conflicting types for 'getline'
/usr/include/stdio.h:671:20: note: previous declaration of 'getline' was here
htpasswd.c: In function 'main':
htpasswd.c:216:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
htpasswd.c: In function 'add_password':
htpasswd.c:117:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
make[1]: *** [htpasswd.o] Error 1

gcc-4.6
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)