kmod/shared
Lucas De Marchi b7e2c1eb58 strbuf: Extract realloc
Extract the realloc from the size calculation so it can be shared with
other upcoming callers.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/239
2024-11-17 15:35:13 -06:00
..
.gitignore Move generic util functions to shared directory 2014-10-03 00:33:25 -03:00
array.c Avoid adding zero to a NULL pointer 2024-10-17 08:28:08 -05:00
array.h shared: switch array API to size_t 2024-08-16 00:00:00 -05:00
hash.c Avoid adding zero to a NULL pointer 2024-10-17 08:28:08 -05:00
hash.h shared: mass convert with clang-format 2024-09-24 09:59:20 -05:00
macro.h shared: Ignore clang-analyzer on cleanup attribute 2024-11-11 18:11:11 -06:00
missing.h shared: mass convert with clang-format 2024-09-24 09:59:20 -05:00
scratchbuf.c Drop the one line short description on sources 2024-07-26 13:41:56 -05:00
scratchbuf.h shared: mass convert with clang-format 2024-09-24 09:59:20 -05:00
strbuf.c strbuf: Extract realloc 2024-11-17 15:35:13 -06:00
strbuf.h shared: add missing stddef.h include 2024-10-08 23:20:00 -05:00
util.c tree-wide: Sprinkle _clang_suppress_alloc_ 2024-11-11 18:11:11 -06:00
util.h shared: Move cleanup attribute 2024-11-11 18:11:11 -06:00