John Polstra <[EMAIL PROTECTED]> writes: > Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote: > > This is wrong. caddr_t should be uniersally replaced with void *. > Not quite. There is (or at least used to be) a lot of code that > assumed you could do address arithmetic on a caddr_t. You can't do > that on a void *, at least not in ANSI C. I think gcc lets you do > it, but it's an extension.
Correct, and it will break if compiled with the options we use to build kernels, but in the great majority of cases, caddr_t can be replaced with void *. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message