diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-04 23:55:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-04 23:55:56 +0000 |
commit | 1c2947581b8694b3e8ab447c5c7c2c9dbb43bf8b (patch) | |
tree | 6d4b450593c27037e70e22d5976be76db2192781 /lib/curl_base64.h | |
parent | 00883822be245d2660a569e6bde38892b9433aa2 (diff) | |
download | curl-1c2947581b8694b3e8ab447c5c7c2c9dbb43bf8b.tar.gz |
fix shadowing of a global declaration
Diffstat (limited to 'lib/curl_base64.h')
-rw-r--r-- | lib/curl_base64.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/curl_base64.h b/lib/curl_base64.h index c98fd196c..627eb93e3 100644 --- a/lib/curl_base64.h +++ b/lib/curl_base64.h @@ -1,5 +1,5 @@ -#ifndef __CURL_BASE64_H -#define __CURL_BASE64_H +#ifndef HEADER_CURL_BASE64_H +#define HEADER_CURL_BASE64_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -22,7 +22,11 @@ * * $Id$ ***************************************************************************/ + size_t Curl_base64_encode(struct SessionHandle *data, - const char *input, size_t size, char **str); -size_t Curl_base64_decode(const char *source, unsigned char **outptr); -#endif + const char *inputbuff, size_t insize, + char **outptr); + +size_t Curl_base64_decode(const char *src, unsigned char **outptr); + +#endif /* HEADER_CURL_BASE64_H */ |