[Olsr-dev] [PATCH] convert olsr_bool to a C99 equivalent
Wed Oct 22 11:11:48 CEST 2008
On Tue, Oct 21, 2008 at 11:56:50PM +0200, Bernd Petrovitsch wrote:
| The attached patch converts the existing "bool" implementation to a C99
| equivalent. Either by using <stdbool.h> or by #define'ing and
| typedef'ing the same according to http://en.wikipedia.org/wiki/Stdbool.h
| (at least IMHO).
| The main gain - apart from adhering to standards - is to save a few
| bytes here and there.
| That patch runs since weeks at my (Linux) node and worked on all tests
| on Win32. So I assume it should also work on *BSD.
| I have no problem to push it into whatever repo but I fear it may be too
| risky in general.
push it up and lets run some tests on texas ...
More information about the Olsr-dev