]> git.meshlink.io Git - meshlink/blobdiff - src/utils.h
Fix whitespace.
[meshlink] / src / utils.h
index 4e0b55fc58f0515ae979f45f5c9c841b150f088c..e2a3306312be7727daeabeab1b38ba80c1148104 100644 (file)
@@ -21,8 +21,8 @@
 #ifndef __TINC_UTILS_H__
 #define __TINC_UTILS_H__
 
-extern void hex2bin(char *src, char *dst, int length);
-extern void bin2hex(char *src, char *dst, int length);
+extern int hex2bin(const char *src, char *dst, int length);
+extern int bin2hex(const char *src, char *dst, int length);
 
 extern int b64encode(const char *src, char *dst, int length);
 extern int b64decode(const char *src, char *dst, int length);
@@ -47,4 +47,4 @@ extern const char *winerror(int);
 
 extern unsigned int bitfield_to_int(const void *bitfield, size_t size);
 
-#endif                                                 /* __TINC_UTILS_H__ */
+#endif /* __TINC_UTILS_H__ */