diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-27 20:29:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-27 20:33:04 +0100 |
commit | 20ba6c2ebe083a6a5021b68622637c710ea12115 (patch) | |
tree | 1c620ea2cfc9d667a982f307859e3efeec1dbec8 /CODING_STYLE | |
parent | 6355e75610a8d47fc3ba5ab8bd442172a2cfe574 (diff) |
libsystemd: make sure we prefix even the dirty secrets in our API with "_sd_"
This renames __useless_struct_to_allow_trailing_semicolon__ everywhere
to _sd_useless_struct_to_allow_trailing_semicolon_, to follow our usual
rule of prefixing stuff from public headers that should be considered
internal with "_sd_".
While we are at it, also to be safe: when the struct is used in the C++
protector macros make sure to use two different names depending on
whether it appears in the C++ or C side of things. After all, there
might be compilers that don't consider C++ and C structs the same.
See https://github.com/systemd/systemd/pull/2052#discussion_r46067059
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions