]> git.proxmox.com Git - mirror_lxc.git/commit
CODING_STLYE: Simplify explanation for use of 'extern'
authorTobin C. Harding <me@tobin.cc>
Thu, 16 Aug 2018 23:38:48 +0000 (09:38 +1000)
committerTobin C. Harding <me@tobin.cc>
Fri, 17 Aug 2018 04:37:13 +0000 (14:37 +1000)
commit39a1e1fa19914f6ae7d595c5fb8fd7eb636dcbdc
treefeabeca9c6eea7f22baaf75dbd77a8ae22223a22
parentcd15ab7a04e03c9af0c07b9d8cf0942d1ab1932a
CODING_STLYE: Simplify explanation for use of 'extern'

Current explanation of rules around usage of 'extern' are overly
verbose.  It is not necessary to state that functions should be declared
in header files, the compiler already enforces this.  These rules are
simple, they are better described with simple statements.  An example is
not necessary for such simple rules and serves only to make the document
longer.

Use two simple statements describing the rules that govern function
declaration and the usage of the 'extern' keyword.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
CODING_STYLE.md