dect
/
linux-2.6
Archived
13
0
Fork 0

fs/ramfs/ extern cleanup

- internal.h shouldn't duplicate the extern declaration for
  ramfs_file_operations already in include/linux/ramfs.h
- file-mmu.c needs two #include's for seeing the extern declarations
  of it's global struct's

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Adrian Bunk 2008-04-29 00:58:51 -07:00 committed by Linus Torvalds
parent f7b16c108f
commit 4488c59c94
2 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,9 @@
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/ramfs.h>
#include "internal.h"
const struct address_space_operations ramfs_aops = {
.readpage = simple_readpage,

View File

@ -11,5 +11,4 @@
extern const struct address_space_operations ramfs_aops;
extern const struct file_operations ramfs_file_operations;
extern const struct inode_operations ramfs_file_inode_operations;