]PATCH] cpuset: make function decl. ANSI

From: Randy.Dunlap
Date: Mon Mar 28 2005 - 00:48:42 EST



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

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

diffstat:=
kernel/cpuset.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./kernel/cpuset.c~cpuset_void ./kernel/cpuset.c
--- ./kernel/cpuset.c~cpuset_void 2005-03-26 21:48:12.000000000 -0800
+++ ./kernel/cpuset.c 2005-03-27 20:59:21.000000000 -0800
@@ -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;



---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/