Alexander Amelkin bb1a4cc805
Refactoring. Improve code reuse ratio.
Add ARRAY_SIZE() macro.

Use the new macro in all places where array size is calculated by
means of sizeof(array)/sizeof(array[0]).

Fix minor bugs and warnings in the affected code.

Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
2018-08-14 16:44:52 +03:00
..
2016-05-16 19:18:19 +02:00
2018-08-06 15:59:06 +03:00
2018-08-06 15:59:06 +03:00
2018-07-26 19:54:57 +03:00
2016-09-01 11:27:10 +02:00
2016-11-02 10:32:36 +01:00
2016-02-27 10:03:44 +01:00
2015-02-05 18:43:49 +01:00
2018-07-26 19:54:57 +03:00
2018-07-28 19:15:10 +03:00