summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-04-09 20:14:22 +0200
committerGuillem Jover <guillem@debian.org>2014-04-21 16:54:29 +0200
commit639786e29c72baf6b1f0b2ca1cada34df54d8dff (patch)
treee9e4781b297e45505fd35a635d575c3540cb571a /doc
parent09d43d4f21f6b70c0c1aff2711a1503d7ecf8a35 (diff)
downloaddpkg-639786e29c72baf6b1f0b2ca1cada34df54d8dff.tar.gz
build: Test for required compound literals
And clarify the comment on the designated initializers.
Diffstat (limited to 'doc')
-rw-r--r--doc/coding-style.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/coding-style.txt b/doc/coding-style.txt
index 2f18daada..3e1a30d05 100644
--- a/doc/coding-style.txt
+++ b/doc/coding-style.txt
@@ -6,7 +6,8 @@ C language extensions
The code base assumes C89 plus the following C99 extensions:
- * Named initializers.
+ * Designated initializers.
+ * Compound literals.
* Trailing comma in enum.
* Variadic macros.
* Working bool type in <stdbool.h>.