Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 15:53:56 -0800
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Maxime Henrion <mux@freebsd.org>
Cc:        Marcel Moolenaar <marcel@xcllnt.net>, Patrick Hartling <patrick@137.org>, current@freebsd.org
Subject:   Re: uuid.h is not C++ safe
Message-ID:  <20021105155356.A72692@FreeBSD.org>
In-Reply-To: <20021105234624.GI26605@elvis.mu.org>; from mux@freebsd.org on Tue, Nov 05, 2002 at 03:46:24PM -0800
References:  <3DC71B56.1050102@137.org> <20021105105813.GD26605@elvis.mu.org> <20021105105927.GE26605@elvis.mu.org> <20021105030419.A19427@FreeBSD.org> <20021105111724.GF26605@elvis.mu.org> <20021105123036.A99916@kayak.xcllnt.net> <20021105234624.GI26605@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: Maxime Henrion <mux@freebsd.org> [ Data: 2002-11-05 ]
	[ Subjecte: Re: uuid.h is not C++ safe ]
> > If there's a better place, then we should move it. We could put it in
> > <uuid.h>, but I don't want to make that header a requirement if one
> > only uses the syscall. I don't yet know what a good place would be,
> > if not <sys/uuid.h>. Suggestions?
> 
> Well I don't really understand what you mean here.  Since this prototype
> is #ifndef _KERNEL in sys/sys/uuid.h and since this header is included by
> lib/libc/uuid/uuid.h, moving it into the libc header shouldn't make any
> difference both in visibility and header requirements.  That's also how
> we generally do for other syscalls.  The attached (and untested) patch
> does it.
> 
> Am I missing something with respect to your concerns about this ?

I was tempted to do this too.  You probably want to include bde's(?)
normal "no user-servicable parts" thing, too.  Grep in other headers.
-- 
Juli Mallett <jmallett@FreeBSD.org>       | FreeBSD: The Power To Serve
Will break world for fulltime employment. | finger jmallett@FreeBSD.org
http://people.FreeBSD.org/~jmallett/      | Support my FreeBSD hacking!

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




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