From ddb64d82708da0cdd0a88fa433260d2e60bffb64 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 28 Feb 2015 17:38:23 +0100 Subject: update TODO --- CODING_STYLE | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CODING_STYLE') diff --git a/CODING_STYLE b/CODING_STYLE index 5574013487..0340ff0fa3 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). -- cgit v1.2.3-54-g00ecf