commit 16776aab3a8a26454bcf39caf645b40f0cb3ad4b parent 8607d9671280e57b2dac351bf74ad3b4292bd586 Author: z3bra <willyatmailoodotorg> Date: Tue May 10 19:44:59 +12000 Move base64_index() prototype to base64.c Diffstat:
base64.c | | | 2 | ++ |
base64.h | | | 1 | - |
diff --git a/base64.c b/base64.c @@ -9,6 +9,8 @@ #define BASE64_FOLD 76 +uint8_t base64_index(const char *, char); + const char base64_table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; uint8_t diff --git a/base64.h b/base64.h @@ -1,7 +1,6 @@ #ifndef BASE64_H__ #define BASE64_H__ -uint8_t base64_index(const char *base64, char ch); size_t base64_encode(char **buf, const unsigned char *msg, size_t len); size_t base64_decode(char **buf, const unsigned char *msg, size_t len); size_t base64_fold(FILE *out, char *msg, size_t len, size_t fold);