cleanups, make clang happy

This commit is contained in:
cathugger 2019-03-15 21:04:40 +00:00
parent 9ac54f6db3
commit 390e8ea9de
No known key found for this signature in database
GPG key ID: 9BADDA2DAF6F01A8
11 changed files with 44 additions and 34 deletions

View file

@ -1,7 +1,7 @@
// converts src[0:slen] to base64 string
char *base64_to(char *dst,const u8 *src,size_t slen);
// calculates length needed to store data converted to base64
#define BASE64_TO_LEN(l) (((l + 3 - 1) / 3) * 4)
#define BASE64_TO_LEN(l) ((((l) + 2) / 3) * 4)
// converts src string from base64
size_t base64_from(u8 *dst,const char *src,size_t slen);
// calculates length needed to store data converted from base64