Skip to content

Commit

Permalink
fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static
Browse files Browse the repository at this point in the history
the function ecryptfs_encode_for_filename() is only used in this file

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
  • Loading branch information
Cong Ding authored and Tyler Hicks committed Dec 18, 2012
1 parent 8bbca57 commit 3702875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ecryptfs/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3702875

Please sign in to comment.