17 Jun
2010
17 Jun
'10
12:26 a.m.
On Thu, Jun 17, 2010 at 12:21:18AM +0200, Diego Biurrun wrote:
On Wed, Jun 16, 2010 at 09:32:15PM +0200, Reimar Döffinger wrote:
On Wed, Jun 16, 2010 at 08:28:00PM +0200, diego wrote:
Log: Use a struct timezone as second parameter for gettimeofday in the function test. This works around (broken?) systems where just #including <sys/time.h> does not provide NULL.
Don't do that kind of hacks. I don't see the point of avoiding to include stdlib.h, but if you insist just use 0 instead of NULL, it is basically the same thing just uglier.
I don't see how this is a hack. The test now passes two parameters of the right type to gettimeofday().
Ok, I misread it.