From: Randy Dunlap <rdunlap@xenotime.net>
Date: Mon, 11 Jun 2012 23:46:55 +0000 (-0700)
Subject: exofs: fix sparse non-ANSI function warning
X-Git-Tag: v3.5-rc3~30
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b84297197ce60bb5da14cbd5516cf5130b0cd380;p=users%2Fjedix%2Flinux-maple.git

exofs: fix sparse non-ANSI function warning

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>
---

diff --git a/fs/exofs/sys.c b/fs/exofs/sys.c
index e32bc919e4e3..5a7b691e748b 100644
--- a/fs/exofs/sys.c
+++ b/fs/exofs/sys.c
@@ -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;