From owner-freebsd-current Tue Nov 5 15:53:57 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 2229C37B404; Tue, 5 Nov 2002 15:53:56 -0800 (PST) Date: Tue, 5 Nov 2002 15:53:56 -0800 From: Juli Mallett To: Maxime Henrion Cc: Marcel Moolenaar , Patrick Hartling , current@freebsd.org Subject: Re: uuid.h is not C++ safe Message-ID: <20021105155356.A72692@FreeBSD.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021105234624.GI26605@elvis.mu.org>; from mux@freebsd.org on Tue, Nov 05, 2002 at 03:46:24PM -0800 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Maxime Henrion [ 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 > > , 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 . 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 | 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