On Thu, 27 Apr 2000, Pavel Machek wrote:
> Here are few minor cleanups to usb-storage. Please apply.
*sigh* Pavel, we've been through this before. I'm working on URBifying
the code, and this patch is totally orthogonal to mine. If you have a
suggestion for a changes to the code, please just send them to me.
> -static unsigned char sense_notready[] = {
> - 0x70, /* current error */
> - 0x00,
> - 0x02, /* not ready */
> - 0x00,
> - 0x00,
> - 0x0a, /* additional length */
> - 0x00,
> - 0x00,
> - 0x00,
> - 0x00,
> - 0x04, /* not ready */
> - 0x03, /* manual intervention */
> - 0x00,
> - 0x00,
> - 0x00,
> - 0x00
> +static unsigned char sense_notready[16] = {
> + [0] = 0x70, /* current error */
> + [2] = 0x02, /* not ready */
> + [5] = 0x0a, /* additional length */
> + [10] = 0x04, /* not ready */
> + [11] = 0x03, /* manual intervention */
> };
Is this standard C? Or is this a gcc/egcs specific extension to the
language?
Matt Dharm
--
Matthew Dharm Home: [EMAIL PROTECTED]
Senior Engineer, QCP Inc. Work: [EMAIL PROTECTED]
Da. Am thinkink of carbonated borscht for lonk nights of coding.
-- Pitr
User Friendly, 7/24/1998
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]