From: Cong Ding Date: Fri, 7 Dec 2012 22:21:56 +0000 (+0000) Subject: fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static X-Git-Tag: v3.8-rc2~6^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=37028758f92d0a3eb74bcfbecf6bc477072e9e28;p=linux-block.git fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static the function ecryptfs_encode_for_filename() is only used in this file Signed-off-by: Cong Ding Signed-off-by: Tyler Hicks --- diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index ea9931281557..a7b0c2dfb3db 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c @@ -1935,7 +1935,7 @@ static const unsigned char filename_rev_map[256] = { * @src: Source location for the filename to encode * @src_size: Size of the source in bytes */ -void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size, +static void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size, unsigned char *src, size_t src_size) { size_t num_blocks;