Subject: Re: gtime()
To: None <firstname.lastname@example.org>
From: Klaus Klein <email@example.com>
Date: 09/15/1998 14:28:17
Lucio de Re <firstname.lastname@example.org> writes:
> From /usr/include/time.h:
> /* $NetBSD: time.h,v 1.13 1997/10/04 15:00:42 kleink Exp $ */
> [ ... ]
> long gtime __P((struct tm *const));
> [ etc. ]
> The declaration of gtime() conflicts with a "static" declaration in two
> UMich LDAP modules. I could not find the corresponding functions in
> the obvious libraries.
I have removed this declaration in -current; the function is intended
to be available on Mach systems only.
> Does anyone know where I should look? Presumably all of the above are
> missing, in which case the declaration in /usr/include/time.h is more
> harmful than useful.
See src/lib/libc/time/localtime.c; note the #ifdef CMUCS conditional.