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

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
...@@ -1935,7 +1935,7 @@ static const unsigned char filename_rev_map[256] = { ...@@ -1935,7 +1935,7 @@ static const unsigned char filename_rev_map[256] = {
* @src: Source location for the filename to encode * @src: Source location for the filename to encode
* @src_size: Size of the source in bytes * @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) unsigned char *src, size_t src_size)
{ {
size_t num_blocks; size_t num_blocks;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment