From owner-cvs-src@FreeBSD.ORG Mon Sep 22 05:34:52 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DD191065671 for ; Mon, 22 Sep 2008 05:34:52 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id 2F78B8FC18 for ; Mon, 22 Sep 2008 05:34:52 +0000 (UTC) (envelope-from peter@wemm.org) Received: by gxk10 with SMTP id 10so2461272gxk.19 for ; Sun, 21 Sep 2008 22:34:51 -0700 (PDT) Received: by 10.100.94.14 with SMTP id r14mr2474103anb.88.1222061691489; Sun, 21 Sep 2008 22:34:51 -0700 (PDT) Received: by 10.100.154.11 with HTTP; Sun, 21 Sep 2008 22:34:51 -0700 (PDT) Message-ID: Date: Sun, 21 Sep 2008 22:34:51 -0700 From: "Peter Wemm" To: "Craig Rodrigues" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809202113.m8KLDEmT054706@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/gen getosreldate.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 05:34:52 -0000 On Sun, Sep 21, 2008 at 12:23 PM, Peter Wemm wrote: > On Sat, Sep 20, 2008 at 2:12 PM, Craig Rodrigues 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 >> >> 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 " cannot be used in the kernel, use " #else #undef __FreeBSD_version #define __FreeBSD_version 800046 #ifdef __STDC__ #ifndef _OSRELDATE_H #define _OSRELDATE_H #include __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@wemm.org; peter@FreeBSD.org; peter@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