diff --git a/base64.c b/base64.c index 5079bb2..afbc0c2 100644 --- a/base64.c +++ b/base64.c @@ -40,7 +40,7 @@ static const unsigned char decoding_table[256] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; -char* base64_decode(const char *data) { +char *base64_decode(const char *data) { size_t input_length = strlen(data); if (input_length % 4 != 0) { return NULL; @@ -55,7 +55,7 @@ char* base64_decode(const char *data) { (output_length)--; } - unsigned char* output = (unsigned char *)malloc(output_length + 1); + unsigned char *output = (unsigned char *)malloc(output_length + 1); if (output == NULL) { return NULL; } diff --git a/base64.h b/base64.h index 5a656ae..ef98f63 100644 --- a/base64.h +++ b/base64.h @@ -1,6 +1,6 @@ #ifndef __BASE64_H__ #define __BASE64_H__ -char* base64_decode(const char *data); +char *base64_decode(const char *data); #endif