diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2020-12-23 23:43:57 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-12-29 03:38:23 +0100 |
commit | ccdd1e3fd92591755e2b94bf63416c7b30cd217a (patch) | |
tree | 5dd2bab62c6ca7299777e6916ade3f56653e3db8 /src/common/util-common.h | |
parent | 831fc568fc87a75bb6e05575b93a7541b49e7aba (diff) | |
download | pacman-ccdd1e3fd92591755e2b94bf63416c7b30cd217a.tar.gz pacman-ccdd1e3fd92591755e2b94bf63416c7b30cd217a.tar.xz |
Move hex_representation() to src/common
We'll reuse the function in pacman with a later commit.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/common/util-common.h')
-rw-r--r-- | src/common/util-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdio.h> #include <sys/stat.h> /* struct stat */ +char *hex_representation(const unsigned char *bytes, size_t size); const char *mbasename(const char *path); char *mdirname(const char *path); |