diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-04-15 18:10:57 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-04-15 18:32:55 +0530 |
commit | 689c7e2204e3e924cf24ddfb9c399215b786ec1b (patch) | |
tree | c7e87e82a76f1b30f6e7c5c140d172526849f1fd /src/libnpass/util.c | |
parent | 39a4d38bb7da97189a301b8a26cb83a469d87d3d (diff) |
libnpass/gpg: refactor
https://www.kernel.org/doc/html/v4.10/process/coding-style.html
- Centralized exiting of functions (goto cleanup)
- Function return values and names
(-Exxx = failure, 0 = success) for imperative commands
(0 = failure, non-zero = success) for predicates
- avoid macros that affect control flow
Diffstat (limited to 'src/libnpass/util.c')
0 files changed, 0 insertions, 0 deletions