News for hackers. Stuff that matters.
Re:Android Project Changeset 4f8b683: libc/memset.c by wvenable on Tuesday May 25, 2010 @10:04PM (#1379296)
What's with all the unused function parameters? Shouldn't that be an edge case?
Re:Android Project Changeset 4f8b683: libc/memset.c by tedunangst on Tuesday May 25, 2010 @10:21PM (#1379326)
Just about every callback interface takes a function pointer where the function expects a void * argument. Half the time it's not needed.
Re:Android Project Changeset 4f8b683: libc/memset.c by kelnos on Wednesday May 26, 2010 @06:04AM (#1379929)
If the void * is the last parameter, just leave it off your implementation of the callback function.