Чистка кода C/C++

Материал из ALT Linux Wiki
Версия от 06:49, 17 ноября 2010; Real (обсуждение | вклад) (Чистка кода 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(-)