From: J.P. K. <jp...@he...> - 2001-12-12 10:23:14
|
> __lint is for when you use 'lint', the C program fluff finder. > I presume it is there specifically to avoid the double-defines, as lint > will complain loudly about them. > > When I get a chance, I'll run the source through lint here (I have one > that deals with C++), and then let other people fix all the warnings... Heh - want me to run the code through Sun's compiler suite? :-) I don't know if there is a lint included there, although I can try it. I could probably install it on something, but that would be... what is the word I am looking for? Oh yes, 'illegal'. >:-> > Double-includes of header files should be OK if everyone remembers to > set include-guards. These were two separate header files though... seemed remarkably odd to be honest, I merely used some functionality that was already there. > Ah, that one. My personal preference would be to take the programmer > who wrote those functions out to a wall and shoot them. The 'Ugly' functions or just whoever is responsible for termcap/terminfo? Julian |