kmod/shared
Lucas De Marchi 63302cf655 util: Promote path_is_absolute() to header
This is a trivial function that can be used elsewhere. There's no point
in keeping the assert if we are going to crash in the very next
instruction. Rather add the relevant attribute and drop the assert.

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/243
2024-11-20 22:25:30 -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 libkmod: Fix typo in comment 2024-11-19 00:23:32 -06:00
strbuf.c strbuf: Add strbuf_shrink_to() 2024-11-17 15:35:13 -06:00
strbuf.h strbuf: Add strbuf_shrink_to() 2024-11-17 15:35:13 -06:00
util.c util: Promote path_is_absolute() to header 2024-11-20 22:25:30 -06:00
util.h util: Promote path_is_absolute() to header 2024-11-20 22:25:30 -06:00