From: Lennart Poettering Date: Wed, 18 Nov 2009 13:32:23 +0000 (+0100) Subject: CODING_STYLE: add missing - X-Git-Tag: 0.git+20100605+dfd8ee-1~463 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1cc7a01bb4663b4aea307cf22368bb5568a9e46;p=systemd CODING_STYLE: add missing - --- diff --git a/CODING_STYLE b/CODING_STYLE index 1b8c8cf3..b3828dc8 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -11,6 +11,6 @@ - for robustness reasons destructors should be able to destruct half-initialized objects, too -- error codes are returned as negative Exxx. i.e. return EINVAL. There +- error codes are returned as negative Exxx. i.e. return -EINVAL. There are some exceptions: for constructors its is OK to return NULL on OOM. For lookup functions NULL is fine too for "not found".