On Tue, 26 Sep 2006 14:46:16 -0400 (EDT)
Alan Stern <[EMAIL PROTECTED]> wrote:

> +             if (!autostopped) {
> +                     static int ohci_restart (struct ohci_hcd *ohci);
> +
> +                     spin_unlock_irq (&ohci->lock);
> +                     (void) ohci_init (ohci);
> +                     status = ohci_restart (ohci);
> +                     spin_lock_irq (&ohci->lock);
> +             }

drivers/usb/host/ohci-hub.c: In function 'ohci_rh_resume':
drivers/usb/host/ohci-hub.c:184: error: invalid storage class for function 
'ohci_restart'                                                                  
     


What on earth _is_ this crap?  Collateral damage from USB's bizarre
include-a-C-file-from-a-C-file thing?


btw, could USB please consider tidying up its coding style sometime?  No
random (void)'s, no random spaces between functions names and the opening
paren?  <fat chance, but hope lives eternal>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to