Re: FYI: minsyms documentation

Pedro Alves
2012-01-03T11:05:15Z

On 01/03/2012 02:52 AM, Joel Brobecker wrote:
>
> One of the issues this was supposed to solve, I was told, is that
> you can have the same function declared in multiple .h files, which
> is a big "ugh", but true I guess.

Really big "ugh". That is insane, and we should get rid of such
cases. Off hand, I know that command.h, and cli/ stuff declare
some of the same functions. It's not funny to change the
interface/prototype of such a function, update only one of the headers,
and then find at run time you have weird crashes, because some module
is calling the function still using the old prototype, because it pulled
the not-updated header.

--
Pedro Alves