[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] Initializing static/global variables
From: |
Kieran Mansley |
Subject: |
RE: [lwip-devel] Initializing static/global variables |
Date: |
Tue, 26 Jun 2007 16:27:49 +0100 |
On Tue, 2007-06-26 at 17:22 +0200, Goldschmidt Simon wrote:
> Do we really want to be that variable? I'd be OK with memsetting to
> zero, but initializing e.g. the tcp_backoff table or broadcast
> addresses with such a define leads to pretty strange code (to me, at
> least).
>
> I'd vote for either static _or_ dynamic initialization.
Agreed, I don't think we need anything nearly as sophisticated as
Robert's suggestion.
Kieran