RE: trying to understand: "warning: function declaration isn't a prototype"

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

 



I believe the issue is that empty parentheses do not constitute a valid
prototype and that to be truly conformant you would have to write:
    extern int foo (void);

oh man that is so obvious it hurts to be discussing it .. thanks for pointing that out! :)

--

;

Jay Vaughan


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux