Discussion:
]PATCH] cpuset: make function decl. ANSI
(too old to reply)
Randy.Dunlap
2005-03-28 05:50:28 UTC
Permalink
kernel/cpuset.c:1428:41: warning: non-ANSI function declaration

Signed-off-by: Randy Dunlap <***@osdl.org>

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 ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



-------------------------------------------------------------------------------
Achtung: diese Newsgruppe ist eine unidirektional gegatete Mailingliste.
Antworten nur per Mail an die im Reply-To-Header angegebene Adresse.
Fragen zum Gateway -> ***@inka.de.
-------------------------------------------------------------------------------
Paul Jackson
2005-03-28 06:04:46 UTC
Permalink
Post by Randy.Dunlap
kernel/cpuset.c:1428:41: warning: non-ANSI function declaration
Acked-by: Paul Jackson <***@sgi.com>

Thanks, Randy.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <***@engr.sgi.com> 1.650.933.1373, 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



-------------------------------------------------------------------------------
Achtung: diese Newsgruppe ist eine unidirektional gegatete Mailingliste.
Antworten nur per Mail an die im Reply-To-Header angegebene Adresse.
Fragen zum Gateway -> ***@inka.de.
-------------------------------------------------------------------------------
Loading...