(void) and printf

Eric K. Bustad ekb at link.UUCP
Wed Aug 7 22:19:03 AEST 1985


In System V, they have changed the free() function to "return" void.
Presumably this was to indicate that it doesn't return any usable
value.  Trouble is, lint now complains about a return value mis-match,
since most code hasn't been changed to include a "void free()" line.

= Eric Bustad (AT&T Bell Laboratories, Holmdel NJ)
  (201)949-6257
  ihnp4!eric.bustad or link!ekb



More information about the Comp.lang.c mailing list