cvs commit: src/lib/libc/gen getosreldate.3
Peter Wemm
peter at wemm.org
Mon Sep 22 05:34:52 UTC 2008
On Sun, Sep 21, 2008 at 12:23 PM, Peter Wemm <peter at wemm.org> wrote:
> On Sat, Sep 20, 2008 at 2:12 PM, Craig Rodrigues <rodrigc at freebsd.org> wrote:
>> rodrigc 2008-09-20 21:12:54 UTC
>>
>> FreeBSD src repository
>>
>> Modified files:
>> lib/libc/gen getosreldate.3
>> Log:
>> SVN rev 183217 on 2008-09-20 21:12:54Z by rodrigc
>>
>> <osreldate.h> does not have a forward declration of getosreldate(), so
>> remove it from this man page.
>
> I fixed this ages ago but forgot to commit that part. I'll try and do
> that today.
FWIW, I've run with /usr/include/osreldate.h looking like this for years:
#ifdef _KERNEL
#error "<osreldate.h> cannot be used in the kernel, use <sys/param.h>"
#else
#undef __FreeBSD_version
#define __FreeBSD_version 800046
#ifdef __STDC__
#ifndef _OSRELDATE_H
#define _OSRELDATE_H
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int getosreldate(void);
__END_DECLS
#endif /* _OSRELDATE_H */
#endif /* __STDC__ */
#endif /* _KERNEL */
.. including desktops/Xorg/etc. I don't know about ia64 though.
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell
More information about the cvs-src
mailing list