From ccdd1e3fd92591755e2b94bf63416c7b30cd217a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 23 Dec 2020 22:43:57 +0000 Subject: Move hex_representation() to src/common We'll reuse the function in pacman with a later commit. Signed-off-by: Emil Velikov Signed-off-by: Allan McRae --- src/common/util-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/util-common.h') diff --git a/src/common/util-common.h b/src/common/util-common.h index 483d5da4..d9b6b4b7 100644 --- a/src/common/util-common.h +++ b/src/common/util-common.h @@ -23,6 +23,7 @@ #include #include /* struct stat */ +char *hex_representation(const unsigned char *bytes, size_t size); const char *mbasename(const char *path); char *mdirname(const char *path); -- cgit v1.2.3-54-g00ecf