Re: Warning: 'XXX' used but never defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



use an extern in the files that use it but don't declare it.

On Wednesday 11 June 2003 2:00 pm, Mike DeKoker wrote:
> There's nothing to fix really. Most of the module's functions are declared
> as static to avoid kernel namespace pollution. Many of these functions
> are used in multiple files. Since all of the source object files are
> "linked" into a single object file (the module), this warning is extraneous
> in my situation.
>
> -Mike
>
> Robert Love <rml@tech9.net> wrote:
>
> On Wed, 2003-06-11 at 11:32, Mike DeKoker wrote:
> > Warning: 'XXX' used but never defined
>
> Well, no, why disable it when you can fix it?
>
> Exactly why are multiple source files causing the problem?
>
> Robert Love
>
>
> ---------------------------------
> Do you Yahoo!?
> Free online calendar with sync to Outlook(TM).

-- 
Tom Bradley
Software Engineer
Jaycor / Titan Systems

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux