cvs commit: src/lib/libufs bread.3 cgread.3 getino.3 libufs.3 sbread.3 ufs_disk_close.3

Juli Mallett jmallett at FreeBSD.org
Thu Oct 9 12:45:48 PDT 2003


* Bruce Evans <bde at zeta.org.au> [ Date: 2003-10-09 ]
	[ w.r.t. Re: cvs commit: src/lib/libufs bread.3 cgread.3 getino.3 libufs.3 sbread.3 ufs_disk_close.3 ]
> On Thu, 9 Oct 2003, Jacques A. Vidrine wrote:
> 
> > On Thu, Oct 09, 2003 at 02:45:20AM -0700, Hiten Pandya wrote:
> > > hmp         2003/10/09 02:45:20 PDT
> > >
> > >   FreeBSD src repository (doc committer)
> > >
> > >   Modified files:
> > >     lib/libufs           bread.3 cgread.3 getino.3 libufs.3
> > >                          sbread.3 ufs_disk_close.3
> > >   Log:
> > >   Remove unneccessary include of sys/types.h in the SYNOPSIS
> > >   header.
> > >
> > >   Sys/param.h includes sys/types.h internally unless LOCORE is
> > >   defined.
> 
> Including both is also a style bug.
> 
> > I think you removed the wrong header.  Is <sys/param.h> required in
> > each of these cases?  If not, then I believe the synopsis should refer
> > only to <sys/types.h>:
> 
> <sys/param.h> is a prerequisite for <sys/mount.h> and some of the other
> headers.  <sys/mount.h> is a prerequisite for <ufs/ufs/ufsmount.h>,
> but the mount headers are not needed for much if anything in these
> interfaces.  <sys/param.h> is only needed to define MAXBSIZE otherwise.
> 
> getino.3 might be more useful if it were installed.

It would be more useful if the code were committed.  I think I never
did that because of some alignment issues on various platforms.  If
someone wants a copy of what my WIP look{s,ed} like, I can point to it
on request.

Thanx,
juli.
-- 
juli mallett. email: jmallett at freebsd.org; efnet: juli; aim: bsdflata;
i have lost my way home early - i don't care cause i won't stay there.


More information about the cvs-src mailing list