On Fri, Aug 17, 2001 at 09:13:20PM +0200, Herbert Rosmanith wrote:
> I then found min() being defined in <linux/kernel.h> with an additional
> type argument and some superfluos (imo) assignment code. Erm. What's going
> next, drawing elipses in kernel?
The assignment is needed to avoid side effects. Only the
type-argument is discussable. But it is needed due to constants
and sign issues. Details are in the archive.
But I didn't add it, I just understand the reasoning of it an
its implementation.
Regards
Ingo Oeser
-- In der Wunschphantasie vieler Mann-Typen [ist die Frau] unsigned und operatorvertraeglich. --- Dietz Proepper in dasr - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:25 EST