Stefan Huehner schreef: > Author: shuehner > Date: Sun May 20 15:51:53 2007 > New Revision: 1305 > > URL: http://svn.gna.org/viewcvs/warzone?rev=1305&view=rev > Log: > 2 small fixes in function declarations : () -> (void) > > Modified: > trunk/lib/netplay/netplay.c > trunk/lib/sound/cdaudio.c > According to the ISO C standard (both C89 and C99) this is _not_ necessary. The only place where you need to use a function signature of `(void)`, to indicate a function taking no arguments, is in forward declarations, not in function definitions.
-- Giel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev