about summary refs log tree commit diff stats
path: root/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'base64.h')
-rw-r--r--base64.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/base64.h b/base64.h
index c700c7f..eb0dfbb 100644
--- a/base64.h
+++ b/base64.h
@@ -1,4 +1,4 @@
-/*
+/*
 	base64.c - by Joe DF (joedf@ahkscript.org)
 	Released under the MIT License
 	
@@ -8,7 +8,6 @@
 	http://www.codeproject.com/Tips/813146/Fast-base-functions-for-encode-decode
 */
 
-#include <stdio.h>
 
 //Base64 char table function - used internally for decoding
 unsigned int b64_int(unsigned int ch);
@@ -25,13 +24,13 @@ unsigned int b64d_size(unsigned int in_size);
 // in_len : number of bytes to be encoded.
 // out : pointer to buffer with enough memory, user is responsible for memory allocation, receives null-terminated string
 // returns size of output including null byte
-unsigned int b64_encode(const unsigned char* in, unsigned int in_len, unsigned char* out);
+unsigned int b64_encode(unsigned char* in, unsigned int in_len, unsigned char* out);
 
 // in : buffer of base64 string to be decoded.
 // in_len : number of bytes to be decoded.
 // out : pointer to buffer with enough memory, user is responsible for memory allocation, receives "raw" binary
 // returns size of output excluding null byte
-unsigned int b64_decode(const unsigned char* in, unsigned int in_len, unsigned char* out);
+unsigned int b64_decode(unsigned char* in, unsigned int in_len, unsigned char* out);
 
 // file-version b64_encode
 // Input : filenames
@@ -41,4 +40,4 @@ unsigned int b64_encodef(char *InFile, char *OutFile);
 // file-version b64_decode
 // Input : filenames
 // returns size of output
-unsigned int b64_decodef(char *InFile, char *OutFile);
\ No newline at end of file
+unsigned int b64_decodef(char *InFile, char *OutFile);