summaryrefslogtreecommitdiff
path: root/lib/extras/hex.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extras/hex.h')
-rw-r--r--lib/extras/hex.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/extras/hex.h b/lib/extras/hex.h
index 15d4e64932..5fcac98914 100644
--- a/lib/extras/hex.h
+++ b/lib/extras/hex.h
@@ -1,6 +1,8 @@
/* CC0 (Public domain) - see LICENSE file for details */
-#ifndef CCAN_HEX_H
-#define CCAN_HEX_H
+
+#ifndef GNUTLS_LIB_EXTRAS_HEX_H
+#define GNUTLS_LIB_EXTRAS_HEX_H
+
#include "config.h"
#include <stdbool.h>
#include <stdlib.h>
@@ -21,6 +23,7 @@
* if (!hex_decode(argv[1], strlen(argv[1]), data, 20))
* printf("String is malformed!\n");
*/
+
bool hex_decode(const char *str, size_t slen, void *buf, size_t bufsize);
/**
@@ -70,4 +73,5 @@ static inline size_t hex_data_size(size_t slen)
{
return slen / 2;
}
-#endif /* PETTYCOIN_HEX_H */
+
+#endif /* GNUTLS_LIB_EXTRAS_HEX_H */