mirror of
https://github.com/ceph/ceph
synced 2025-03-30 15:31:01 +00:00
coding-style: update a link and fix typos.
Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
This commit is contained in:
parent
06c9e64bc6
commit
cf18717143
@ -9,7 +9,7 @@ C code
|
|||||||
|
|
||||||
For C code, we conform by the Linux kernel coding standards:
|
For C code, we conform by the Linux kernel coding standards:
|
||||||
|
|
||||||
https://www.kernel.org/doc/Documentation/CodingStyle
|
https://www.kernel.org/doc/Documentation/process/coding-style.rst
|
||||||
|
|
||||||
|
|
||||||
C++ code
|
C++ code
|
||||||
@ -105,7 +105,7 @@ by section.
|
|||||||
* Header Files -> The `#define` Guard:
|
* Header Files -> The `#define` Guard:
|
||||||
|
|
||||||
`#pragma once` is allowed for simplicity at the expense of
|
`#pragma once` is allowed for simplicity at the expense of
|
||||||
portability sinces `#pragma once` is wildly supported and is known
|
portability since `#pragma once` is widely supported and is known
|
||||||
to work on GCC and Clang.
|
to work on GCC and Clang.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user