Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 11:00:24 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Mark Murray <markm@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/include stdlib.h src/lib/libc/gen getbsize.3 getbsize.c
Message-ID:  <20021023180024.GA38880@troutmask.apl.washington.edu>
In-Reply-To: <20021024035920.R23637-100000@gamplex.bde.org>
References:  <200210231418.g9NEI7Ob002138@repoman.freebsd.org> <20021024035920.R23637-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 24, 2002 at 04:00:32AM +1000, Bruce Evans wrote:
> On Wed, 23 Oct 2002, Mark Murray wrote:
> 
> > markm       2002/10/23 07:18:07 PDT
> >
> >   Modified files:
> >     include              stdlib.h
> >     lib/libc/gen         getbsize.3 getbsize.c
> >   Log:
> >   Make the first argument of getbsize a size_t* instead of an int*, as this is 
> >   what the quantity actually is. Fix an easy const while I'm here.
> 
> This breaks binary compatibility on 64-bit machines.
> 

It also breaks world.

cc -O -pipe -mcpu=pentiumpro    -c /usr/src/usr.bin/systat/swap.c
/usr/src/usr.bin/systat/swap.c:61: conflicting types for `getbsize'
/usr/obj/usr/src/i386/usr/include/stdlib.h:230: previous declaration of `getbsize'
*** Error code 1

-- 
Steve

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?20021023180024.GA38880>