Kristina writes:
> When I compile qmail-1.03 on Solaris 7 the following error is
> produced throughout the compile for all *.c files. In the end,
> qmail compiles okay so I am wondering if the following is
> something I should be worried about?
>
> qmail-local.c:448: warning: return type of `main' is not `int'
It's of no concern. At some point, some smart person decided that
main should return the exit code of the program. So every program
needed to have its 'main' routine changed from void to int, and have
the final exit(x) changed to return(x). And this solved *what* problem?
#include <djb/standard-rants/gratuitious-incompatibilities.h>
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
Crynwr sells support for free software | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.