* [PATCH] include buffer_head.h in actual users instead of fs.h (2/10)
@ 2002-05-23 12:26 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2002-05-23 12:26 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
Declare buffer_init() extern in init/main.c like the other _init so that
it doesn't have to include buffer_head.h. Remove buffer_init() there.
--- 1.9/include/linux/buffer_head.h Sun May 19 13:49:49 2002
+++ edited/include/linux/buffer_head.h Thu May 23 14:18:31 2002
@@ -138,7 +143,6 @@
*/
void FASTCALL(mark_buffer_dirty(struct buffer_head *bh));
-void buffer_init(void);
void init_buffer(struct buffer_head *, bh_end_io_t *, void *);
void set_bh_page(struct buffer_head *bh,
struct page *page, unsigned long offset);
--- 1.45/init/main.c Tue Apr 30 00:18:31 2002
+++ edited/init/main.c Thu May 23 13:19:04 2002
@@ -68,6 +68,7 @@
extern void sbus_init(void);
extern void sysctl_init(void);
extern void signals_init(void);
+extern void buffer_init(void);
extern void radix_tree_init(void);
extern void free_initmem(void);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-23 12:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-23 12:26 [PATCH] include buffer_head.h in actual users instead of fs.h (2/10) Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®