[PATCH] gui: image_renderer: fix "no previous prototype for 'squashfs_set_rootarg'" warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch fixes this compiler's warning:

  fs/squashfs/squashfs.c:115:6: warning: no previous prototype for 'squashfs_set_rootarg' [-Wmissing-prototypes]
   void squashfs_set_rootarg(struct squashfs_priv *priv, struct fs_device_d *fsdev)
        ^

Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
---
 fs/squashfs/squashfs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/squashfs/squashfs.c b/fs/squashfs/squashfs.c
index 4f4a307da..cf7431ee0 100644
--- a/fs/squashfs/squashfs.c
+++ b/fs/squashfs/squashfs.c
@@ -112,7 +112,8 @@ static struct inode *squashfs_findfile(struct super_block *sb,
 	return NULL;
 }
 
-void squashfs_set_rootarg(struct squashfs_priv *priv, struct fs_device_d *fsdev)
+static void squashfs_set_rootarg(struct squashfs_priv *priv,
+					struct fs_device_d *fsdev)
 {
 	struct ubi_volume_desc *ubi_vol;
 	struct ubi_volume_info vi = {};
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux