From e47eb9a7776f529a2c30936c468a5ee0601cfa47 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 17 Oct 2011 12:03:02 -0500 Subject: base64: don't compile base64_encode() function We don't use this anywhere; "comment" it out so we still remain relatively close to the upstream sources. Signed-off-by: Dan McGee --- lib/libalpm/base64.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/base64.c') diff --git a/lib/libalpm/base64.c b/lib/libalpm/base64.c index 5c9fa814..0d29f656 100644 --- a/lib/libalpm/base64.c +++ b/lib/libalpm/base64.c @@ -62,6 +62,7 @@ static const unsigned char base64_dec_map[128] = 49, 50, 51, 127, 127, 127, 127, 127 }; +#if 0 /* * Encode a buffer into base64 format */ @@ -124,6 +125,7 @@ int base64_encode( unsigned char *dst, size_t *dlen, return( 0 ); } +#endif /* * Decode a base64-formatted buffer -- cgit v1.2.3-24-g4f1b