Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37028758 authored by Cong Ding's avatar Cong Ding Committed by Tyler Hicks
Browse files

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: default avatarCong Ding <dinggnu@gmail.com>
Signed-off-by: default avatarTyler Hicks <tyhicks@canonical.com>
parent 8bbca57c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;