summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2017-11-01 15:33:04 +0100
committerKarel Zak2017-11-01 15:33:04 +0100
commit61b9233995102d89e0f9d0beed6277071bb419ea (patch)
tree9533c1d3253e1b38f38ccb1cae291503eea30475 /include
parentdmesg: add note about -F format to the man page (diff)
downloadkernel-qcow2-util-linux-61b9233995102d89e0f9d0beed6277071bb419ea.tar.gz
kernel-qcow2-util-linux-61b9233995102d89e0f9d0beed6277071bb419ea.tar.xz
kernel-qcow2-util-linux-61b9233995102d89e0f9d0beed6277071bb419ea.zip
lib/mangle: return size of the decoded buffer
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/mangle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mangle.h b/include/mangle.h
index ec492b556..8c3888d91 100644
--- a/include/mangle.h
+++ b/include/mangle.h
@@ -8,7 +8,7 @@
extern char *mangle(const char *s);
extern void unmangle_to_buffer(const char *s, char *buf, size_t len);
-void unhexmangle_to_buffer(const char *s, char *buf, size_t len);
+extern size_t unhexmangle_to_buffer(const char *s, char *buf, size_t len);
extern char *unmangle(const char *s, char **end);