]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
exofs: fix sparse non-ANSI function warning
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 11 Jun 2012 23:46:55 +0000 (16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Jun 2012 03:33:22 +0000 (06:33 +0300)
Fix sparse non-ANSI function warning:

  fs/exofs/sys.c:112:28: warning: non-ANSI function declaration of function 'exofs_sysfs_dbg_print'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exofs/sys.c

index e32bc919e4e3413d6a8063ac3d0bfb466c959f22..5a7b691e748bdcda66746098d42194cb4682f7e5 100644 (file)
@@ -109,7 +109,7 @@ static struct kobj_type odev_ktype = {
 static struct kobj_type uuid_ktype = {
 };
 
-void exofs_sysfs_dbg_print()
+void exofs_sysfs_dbg_print(void)
 {
 #ifdef CONFIG_EXOFS_DEBUG
        struct kobject *k_name, *k_tmp;