[openbeos] Re: -Wmissing-prototypes

>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.

-----------------------------------------------------------
Spazio ILLIMITATO per la tua Email, Scanner Antivirus,
Antispam, Backup e POP3. Prova la nuova Email di superEva:
http://webmail.supereva.it/
-----------------------------------------------------------


Other related posts: