Compiling lex.yy.c lex.yy.c:4142:12: warning: redundant redeclaration of âisattyâ [-Wredundant-decls] extern int isatty (int ); ^ In file included from cfg.lex:67:0: /usr/include/unistd.h:779:12: note: previous declaration of âisattyâ was here extern int isatty (int __fd) __THROW; ^