Skip to contentSkip to conversation

]PATCH] cpuset: make function decl. ANSI

PATCH Randy.Dunlap 2 participants 2 messages Mar 28, 2005

lore
Share & tools
lore
#0 lore raw

kernel/cpuset.c:1428:41: warning: non-ANSI function declaration

diffstat:=

 kernel/cpuset.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
kernel/cpuset.c renamed from kernel/cpuset.c~cpuset_void +1 -1
diff -Naurp ./kernel/cpuset.c~cpuset_void ./kernel/cpuset.c
@@ -1425,7 +1425,7 @@ void cpuset_init_current_mems_allowed(vo
  * Do not call this routine if in_interrupt().
  */
 
-void cpuset_update_current_mems_allowed()
+void cpuset_update_current_mems_allowed(void)
 {
 	struct cpuset *cs = current->cpuset;
 

---