From: utzoo!watmath!rday
Newsgroups: net.lang.c
Title: use of (void) type in C
Article-I.D.: watmath.4152
Posted: Mon Jan  3 11:03:24 1983
Received: Tue Jan  4 00:05:42 1983

  A common use of the void type is to use it as a cast for functions
which normally return values, but you wish to ignore:

      strcpy(str1,str2)  will cause lint to respond that strcpy always
                         returns which is ignored, but

 (void) strcpy(str1,str2)  keeps lint happy.

  In either case, normal cc compiling will work correctly.