Re: [PATCH] scsi.h uses "u8" which isn't defined.

From: Christoph Hellwig
Date: Sun Aug 17 2003 - 07:51:20 EST


On Sun, Aug 17, 2003 at 02:42:20PM +0200, Dominik Strasser wrote:
> scsi.h uses "u8" which doesn't seem to be defined.
> Better use u_char.

It's defined in <linux/types.h> as is u_char. But we generally prefer
explicitly sized types in Linux - and u_char is a BSDism, the right
not explicitly sized type would be unsigned char.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/