[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Initialization of global variables
From: |
Piotr Piwko |
Subject: |
Re: [lwip-users] Initialization of global variables |
Date: |
Fri, 5 Nov 2010 22:26:35 +0100 |
2010/11/5 address@hidden <address@hidden>:
> You could have had that problem with any other third-party library. Why not
> rely on a fact that is defined in the C standard? It makes the binary
> smaller. OK, there might be code where those global variables get initalized
> to zero/NULL again (lwIP did that, too, up to 1.2.0, I think), but it's
> really smaller (and standard conformant) the way it is now.
All right, so maybe it should be done in the relevant initialization
routines, tcp_init(), udp_init() and so on?
On the other hand this issue just can be described somewhere in source
code or better in wiki documentation, because it really may take a lot
of time.
Regards,
--
Piotr Piwko
http://www.embedded-engineering.pl/
Re: [lwip-users] Initialization of global variables, Simon Goldschmidt, 2010/11/05