ecryptfs/crypto.c: local functions should be static
PATCH 1/1 ecryptfs/crypto.c: local functions should be static
This quiets the sparse noise:
warning: symbol 'ecryptfs_encode_for_filename' was not declared. Should it be static?
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Tyler Hicks <[email protected]>
Cc Dustin Kirkland <[email protected]>
---
fs/ecryptfs/crypto.c +2 -2
@@ -1969,8 +1969,8 @@ static const unsigned char filename_rev_map[] = {* @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, -unsigned char *src,size_t src_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;size_t block_num =0 ;