burton666@xxxxxxxxxxx wrote: > > >There's a function called control_hook. It is defined in a prototype prior > >to > >its use in device_hooks. Since control_hook actually > >performs a number of different behaviors, depending on the > >argument, each was broken out into a separate function, which was > >defined before control_hook. No other functions are going to call > >these functions, so there's really no point to define prototypes for > >them in the header or anywhere else. > > What about defining them as static ? That would remove the warning, and if > they aren't used > anywhere else, it's ok to do that. > This seems like the winning suggestion to me. Just another wacky C thing. This is why I don't do drivers I guess. (heh) Andrew