Russ Allbery writes:
 > Russell Nelson <[EMAIL PROTECTED]> writes:
 > 
 > > 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,
 > 
 > Mm... I'm fairly certain that it's been int main() clear back to the K&R
 > days.  I don't have a 1st edition K&R handy, but the second edition
 > declares main without a return value, which in C of course is an implicit
 > declaration of int.

Right, but the 1st edition doesn't mention the return value from main().
2nd edition does.

-- 
-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.

Reply via email to