:I'd like to see all of these changed to the inlines in sys/libkern.h since :the compiler will do type checking for us. : :This is a little more work which is why I didn't do it myself when I dealt :with the abs() stuff. : :Consider this my objection. : :I don't think that it really stands in the way of the cleanup of all the :definitions of min/max etc. : :-- :| Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD |
This might be useful follow-up work. i.e. the idea of getting rid of the use of the MIN and MAX macros in the kernel altogether. Though I'm not sure I like the fact that 'min' and 'max' in sys/libkern.h refer to unsigned ints (it really should be umin and umax or uimin and uimax). That's a real problem. -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message