From 54156a3d9a2a7f87591e5efd37a8fe6f708b933f Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 18 Mar 2023 21:02:10 +0100 Subject: irmd: Move registry objects to their own sources Rename internal data structures so it's clear that they are the IRMd representation of these objects for management purposes. Split functionality for these objects off and and move them to their own source files. Rename internal functions of the IRMd to reflect this, with some small refactoring. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- include/ouroboros/utils.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/ouroboros/utils.h b/include/ouroboros/utils.h index f5f8610d..be345c19 100644 --- a/include/ouroboros/utils.h +++ b/include/ouroboros/utils.h @@ -38,7 +38,6 @@ typedef struct { size_t len; } buffer_t; - /* * Returns the number of characters a uint would * need when represented as a string @@ -46,7 +45,7 @@ typedef struct { int n_digits(unsigned i); /* gets the application name */ -char * path_strip(char * src); +char * path_strip(const char * src); /* destroy a ** */ #define freepp(type, ptr, len) \ -- cgit v1.2.3