Skip to contentSkip to conversation

fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static

PATCH New Cong Ding 1 participant 1 message Dec 7, 2012 Ecrypt file system

lore
Share & tools
lore

Cong Ding

author
#0 lore raw

PATCH 1/1 fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static

the function ecryptfs_encode_for_filename() is only used in this file

---
 fs/ecryptfs/crypto.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ecryptfs/crypto.c +1 -1
index ea99312..a7b0c2d 100644
@@ -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;
Signature · 1 line
1.7.4.5