﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
519	psTime.c fails to build due to gettimeofday's second argument	rhl@…	David.Robbins@…	"psTime.c includes a call:
   gettimeofday(&now, (struct timezone *)0)
which fails to compile with gcc 4.0 on os/x 10.4

The latest opengroup documentation on gettimeofday
(see http://www.opengroup.org/onlinepubs/009695399/)
has no mention of a (struct timezone),  and requires
that the second argument be a NULL pointer of type
(void *) to avoid undefined behaviour.

The Linux docs (e.g.
   http://www.delorie.com/gnu/docs/glibc/libc_434.html)
still mention (struct timezone) but still require it to be NULL.

The simplest fix is to write the null pointer as 0 or NULL,
without an unnecessary cast."	defect	closed	high		astro	0.7.0	normal	fixed		
