On Thu, 2002-12-19 at 19:43, Pete Zaitcev wrote: > Do you guys think Dmitri had anything particular in mind when > he dropped this static? > > --- linux-2.4.21-pre1/drivers/usb/ibmcam.c 2002-08-02 17:39:45.000000000 -0700 > +++ linux-2.4.21-pre1-sparc/drivers/usb/ibmcam.c 2002-12-19 19:43:28.000000000 >-0800 > @@ -87,7 +87,7 @@ > } ibmcam_t; > #define IBMCAM_T(uvd) ((ibmcam_t *)((uvd)->user_data)) > > -usbvideo_t *cams = NULL; > +static usbvideo_t *cams = NULL; > > static int debug = 0;
I don't see the 'static' keyword dropped. Quite opposite - someone added it :-) I can't say why I didn't use static here, especially because the next declaration happily uses it. On the other hand, if an ISA TokenRing driver would ever want to quickly check how many IBM USB video cameras are connected, then it could :-) Thanks, Dmitri
signature.asc
Description: This is a digitally signed message part
