Чистка кода C/C++
Рекомендации от Kirill A. Shutemov:
Let's try to make set-versions implementation more maintainable.
Kirill A. Shutemov (8):
set.c, set.h: get rid of C++-style comments set.c: get rid of nested functions set.c: fixup self-test functions declaration set.c: slightly reformat code to increase its readability set.c: do not mix declarations and code set.c: use function-like syntax for sizeof. set.c: cleanup self-tests set.c: update copyright notice
lib/set.c | 768 +++++++++++++++++++++++++++++++++++++------------------------ lib/set.h | 12 +- 2 files changed, 473 insertions(+), 307 deletions(-)