* De: Maxime Henrion <[EMAIL PROTECTED]> [ 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 <[EMAIL PROTECTED]> | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger [EMAIL PROTECTED] http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message