diff options
author | Tyler Hicks <tyhicks@canonical.com> | 2013-01-17 15:19:35 -0500 |
---|---|---|
committer | Tyler Hicks <tyhicks@canonical.com> | 2013-01-17 15:20:47 -0500 |
commit | 111d61a25ec11c1837ac0fd81bf4b845d3327fb7 (patch) | |
tree | 78d6ac89f80be09afde45d38538b9dd02c4b4b50 /fs/ecryptfs | |
parent | bbcb03e3ce8c76a4ecf0ea7d365f9f0e913fc329 (diff) |
eCryptfs: Fix -Wmissing-prototypes warnings
Mark two inode operation fuctions as static. Fixes warnings when
building with W=1.
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Diffstat (limited to 'fs/ecryptfs')
-rw-r--r-- | fs/ecryptfs/inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index cc7709e7c508..ddd961ba2cf9 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c | |||
@@ -999,8 +999,8 @@ out: | |||
999 | return rc; | 999 | return rc; |
1000 | } | 1000 | } |
1001 | 1001 | ||
1002 | int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry, | 1002 | static int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry, |
1003 | struct kstat *stat) | 1003 | struct kstat *stat) |
1004 | { | 1004 | { |
1005 | struct ecryptfs_mount_crypt_stat *mount_crypt_stat; | 1005 | struct ecryptfs_mount_crypt_stat *mount_crypt_stat; |
1006 | int rc = 0; | 1006 | int rc = 0; |
@@ -1021,8 +1021,8 @@ int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry, | |||
1021 | return rc; | 1021 | return rc; |
1022 | } | 1022 | } |
1023 | 1023 | ||
1024 | int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry, | 1024 | static int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry, |
1025 | struct kstat *stat) | 1025 | struct kstat *stat) |
1026 | { | 1026 | { |
1027 | struct kstat lower_stat; | 1027 | struct kstat lower_stat; |
1028 | int rc; | 1028 | int rc; |