[-mm patch] make kernel/utsname.c:clone_uts_ns()
- From: Adrian Bunk <bunk@xxxxxxxxx>
- Date: Fri, 23 Jun 2006 12:55:51 +0200
This patch makes the needlessly global clone_uts_ns() static.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
--- linux-2.6.17-mm1-full/kernel/utsname.c.old 2006-06-22 20:53:20.000000000 +0200
+++ linux-2.6.17-mm1-full/kernel/utsname.c 2006-06-22 20:53:31.000000000 +0200
@@ -19,7 +19,7 @@
* @old_ns: namespace to clone
* Return NULL on error (failure to kmalloc), new ns otherwise
*/
-struct uts_namespace *clone_uts_ns(struct uts_namespace *old_ns)
+static struct uts_namespace *clone_uts_ns(struct uts_namespace *old_ns)
{
struct uts_namespace *ns;
-
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/
- Follow-Ups:
- Re: [-mm patch] make kernel/utsname.c:clone_uts_ns()
- From: Serge E. Hallyn
- Re: [-mm patch] make kernel/utsname.c:clone_uts_ns()
- References:
- 2.6.17-mm1
- From: Andrew Morton
- 2.6.17-mm1
- Prev by Date: [RFC: 2.6 patch] kernel/sys.c: remove unused exports
- Next by Date: [-mm patch] kernel/lockdep.c: make 3 functions static
- Previous by thread: [-mm patch] drivers/char/agp/nvidia-agp.c: remove unused variable
- Next by thread: Re: [-mm patch] make kernel/utsname.c:clone_uts_ns()
- Index(es):
Relevant Pages
|