lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7054] Clarification needed for variable initializati


From: Frédéric Bernon
Subject: [lwip-devel] [task #7054] Clarification needed for variable initialization
Date: Wed, 04 Jul 2007 07:30:58 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #1, task #7054 (project lwip):

(Julian Gardner wrote)

Well when i start using any code i remove all 0 initialisation code, so this
forces the compiler to stick the variable in the BSS section.

This is the way it should work, i think setting a variable to 0 is by default
the norm.

As to the tcp_backoff this will make the code larger as if taking the
tcp_backoff as an example we would have 13 stores and at least 7 loads.

leave the code as is and start removing the NULL and 0 assignments for GLOBAL
variables

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7054>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]