Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 09:03:32 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc_r/arch/i386 _atomic_lock.S src/lib/libstand/i386 _setjmp.S 
Message-ID:  <20011025160332.731923808@overcee.netplex.com.au>
In-Reply-To: <20011025140439.E91595@sunbay.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote:
> On Wed, Oct 24, 2001 at 06:30:54PM -0700, Peter Wemm wrote:
> > peter       2001/10/24 18:30:54 PDT
> > 
> >   Modified files:
> >     lib/libc_r/arch/i386 _atomic_lock.S 
> >     lib/libstand/i386    _setjmp.S 
> >   Log:
> >   Change #include "DEFS.h" to <machine/asm.h>.
> >   
> >   Revision  Changes    Path
> >   1.5       +2 -2      src/lib/libc_r/arch/i386/_atomic_lock.S
> >   1.5       +2 -2      src/lib/libstand/i386/_setjmp.S
> > 
> Why?!
> 
> AINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH}
> 
> in libc_r/Makefile perfectly matches /usr/src/lib/libc/i386/DEFS.h,
> at least here.

Because of this commit a short while before (but not short enough!):

peter       2001/10/24 13:29:14 PDT
  
  Modified files:
    lib/libc/i386        SYS.h
    lib/libc/i386/gen    _setjmp.S alloca.S fabs.S modf.S setjmp.S
                         sigsetjmp.S
    lib/libc/i386/net    htonl.S htons.S ntohl.S ntohs.S
    lib/libc/i386/stdlib abs.S div.S labs.S ldiv.S
    lib/libc/i386/string bcmp.S bzero.S ffs.S index.S memchr.S
                         memcmp.S memset.S rindex.S strcat.S
                         strchr.S strcmp.S strcpy.S strlen.S
                         strncmp.S strrchr.S swab.S
    lib/libc/i386/sys    Ovfork.S
  Removed files:
    lib/libc/i386        DEFS.h
  Log:
  De-orbit DEFS.h - the other arches do not use it, and it got replaced
  with <machine/asm.h>.
 
  Reviewed by:  bde

DEFS.h was a file that just had "#include <machine/asm.h>" in it.  It was
no big deal, but would have added a fraction of a second to world build
times. :-)

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011025160332.731923808>