From owner-cvs-all@FreeBSD.ORG Fri Sep 26 20:09:19 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E95C106568C for ; Fri, 26 Sep 2008 20:09:19 +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 C78268FC1C for ; Fri, 26 Sep 2008 20:09:18 +0000 (UTC) (envelope-from peter@wemm.org) Received: by gxk10 with SMTP id 10so8697583gxk.19 for ; Fri, 26 Sep 2008 13:09:18 -0700 (PDT) Received: by 10.142.215.5 with SMTP id n5mr779608wfg.131.1222459757474; Fri, 26 Sep 2008 13:09:17 -0700 (PDT) Received: by 10.142.255.21 with HTTP; Fri, 26 Sep 2008 13:09:17 -0700 (PDT) Message-ID: Date: Fri, 26 Sep 2008 13:09:17 -0700 From: "Peter Wemm" To: "John Baldwin" In-Reply-To: <200809261549.57527.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809261923.m8QJNZ9b034243@repoman.freebsd.org> <200809261549.57527.jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/include Makefile unistd.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 20:09:19 -0000 On Fri, Sep 26, 2008 at 12:49 PM, John Baldwin wrote: > On Friday 26 September 2008 03:23:22 pm Peter Wemm wrote: >> peter 2008-09-26 19:23:22 UTC >> >> FreeBSD src repository >> >> Modified files: >> include Makefile unistd.h >> Log: >> SVN rev 183390 on 2008-09-26 19:23:22Z by peter >> >> Move getosreldate(3) prototype from the machine generated >> to in the BSD section. >> >> Suggested by: kib > > Marcel already worked around the ia64 stuff. I wonder if the ia64 Makefile > shouldn't be using a ! make variable to grep it out anyway, something like: > > OSRELDATE!= awk /__FreeBSD_version/ { print $3 } > CFLAGS+= -D__FreeBSD_version=${OSRELDATE} I think Konstantin was right though. unistd.h is a safer/better place. osreldate.h (for us) has traditionally been a pure cpp-only, language-agnostic header file for as long as I can remember. The issue of ia64 setting __STDC__ for asm files is a separate issue. -- 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