[Olsr-dev] [PATCH] convert olsr_bool to a C99 equivalent

Henning Rogge (spam-protected)
Wed Oct 22 07:48:00 CEST 2008


Am Dienstag 21 Oktober 2008 23:56:50 schrieb Bernd Petrovitsch:
> Hi!
>
> 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.
I like the conversion... this way we get rid of another legacy "custom" thing 
in OLSRd...

Henning


*************************************************
Diplom Informatiker Henning Rogge
Forschungsgesellschaft für
Angewandte Naturwissenschaften e. V. (FGAN) 
Neuenahrer Str. 20, 53343 Wachtberg, Germany
Tel.: 0049 (0)228 9435-961
Fax: 0049 (0)228 9435-685
E-Mail: (spam-protected)
Web: www.fgan.de
************************************************
Sitz der Gesellschaft: Bonn
Registergericht: Amtsgericht Bonn VR 2530
Vorstand: Dr. rer. nat. Ralf Dornhaus (Vors.), Prof. Dr. Joachim Ender 
(Stellv.)




More information about the Olsr-dev mailing list