From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] init/do_mounts.c: proper prepare_namespace() prototype
Date: Mon, 26 Feb 2007 00:19:12 +0100 [thread overview]
Message-ID: <20070225231912.GF29575@stusta.de> (raw)
This patch adds a proper protype for prepare_namespace() in
include/linux/init.h.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/linux/init.h | 3 ++-
init/do_mounts.c | 1 +
init/main.c | 1 -
3 files changed, 3 insertions(+), 2 deletions(-)
--- linux-2.6.20-mm2/include/linux/init.h.old 2007-02-25 19:54:02.000000000 +0100
+++ linux-2.6.20-mm2/include/linux/init.h 2007-02-25 19:57:56.000000000 +0100
@@ -72,7 +72,8 @@
extern unsigned int reset_devices;
/* used by init/main.c */
-extern void setup_arch(char **);
+void setup_arch(char **);
+void prepare_namespace(void);
#endif
--- linux-2.6.20-mm2/init/do_mounts.c.old 2007-02-25 19:54:59.000000000 +0100
+++ linux-2.6.20-mm2/init/do_mounts.c 2007-02-25 19:55:12.000000000 +0100
@@ -9,6 +9,7 @@
#include <linux/delay.h>
#include <linux/mount.h>
#include <linux/device.h>
+#include <linux/init.h>
#include <linux/nfs_fs.h>
#include <linux/nfs_fs_sb.h>
--- linux-2.6.20-mm2/init/main.c.old 2007-02-25 19:55:21.000000000 +0100
+++ linux-2.6.20-mm2/init/main.c 2007-02-25 19:55:35.000000000 +0100
@@ -94,7 +94,6 @@
extern void prio_tree_init(void);
extern void radix_tree_init(void);
extern void free_initmem(void);
-extern void prepare_namespace(void);
#ifdef CONFIG_ACPI
extern void acpi_early_init(void);
#else
reply other threads:[~2007-02-25 23:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070225231912.GF29575@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.