fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static
authorCong Ding <dinggnu@gmail.com>
Fri, 7 Dec 2012 22:21:56 +0000 (22:21 +0000)
committerTyler Hicks <tyhicks@canonical.com>
Tue, 18 Dec 2012 16:10:13 +0000 (10:10 -0600)
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>
fs/ecryptfs/crypto.c

index ea99312..a7b0c2d 100644 (file)
@@ -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;