Alejandro Colomar
cd3a5077b0
*/: s/MEMZERO/memzero_a/
...
This name better reflects that it handles arrays, and doesn't shout.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2025-11-27 20:50:48 -06:00
Alejandro Colomar
b5c5791fe7
*/: s/SIZEOF_ARRAY/sizeof_a/
...
This name better reflects that it handles arrays, and doesn't shout.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2025-11-27 20:50:48 -06:00
Evgeny Grin (Karlson2k)
eb71706b1c
*/: Fix including <config.h> as system header
...
"config.h" is a locally generated header. It must be included as
'#include "config.h"'.
It is already included correctly in some sources files. This commit
unifies the way how "config.h" is included.
Signed-off-by: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
2025-07-16 14:12:40 +02:00
Alejandro Colomar
dab8de8a72
lib/string/memset/: memzero(), strzero(): Return the pointer
...
This allows chaining with free(3) on the same line.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-30 21:44:07 -05:00
Alejandro Colomar
87a5145719
lib/: Move memzero.[ch] under lib/string/memset/
...
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-08-30 21:44:07 -05:00