From: Lennart Poettering Date: Sat, 28 Feb 2015 16:38:23 +0000 (+0100) Subject: update TODO X-Git-Tag: v219.0~541 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=ddb64d82708da0cdd0a88fa433260d2e60bffb64;hp=628c89cc68ab96fce2de7ebba5933725d147aecc update TODO --- diff --git a/CODING_STYLE b/CODING_STYLE index 557401348..0340ff0fa 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -208,3 +208,7 @@ is needed. Everytime you need that please immediately undefine basename(), and add a comment about it, so that no code ever ends up using the XDG version! + +- Use the bool type for booleans, not integers. One exception: in public + headers (i.e those in src/systemd/sd-*.h) use integers after all, as "bool" + is C99 and in our public APIs we try to stick to C89 (with a few extension).