diff options
| author | David Howells <dhowells@redhat.com> | 2006-09-30 14:52:18 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2006-09-30 14:52:18 -0400 |
| commit | 07f3f05c1e3052b8656129b2a5aca9f888241a34 (patch) | |
| tree | 3338b004d518a0d2189efdc3fb88e94e1c02c0ce /include/linux | |
| parent | 65e6f5bc8149165efb9d7bdbd142bb837d5edfeb (diff) | |
[PATCH] BLOCK: Move extern declarations out of fs/*.c into header files [try #6]
Create a new header file, fs/internal.h, for common definitions local to the
sources in the fs/ directory.
Move extern definitions that should be in header files from fs/*.c to
fs/internal.h or other main header files where they span directories.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ramfs.h | 1 | ||||
| -rw-r--r-- | include/linux/tty.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ramfs.h b/include/linux/ramfs.h index 00b340ba6612..b160fb18e8d6 100644 --- a/include/linux/ramfs.h +++ b/include/linux/ramfs.h | |||
| @@ -17,5 +17,6 @@ extern int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma); | |||
| 17 | 17 | ||
| 18 | extern const struct file_operations ramfs_file_operations; | 18 | extern const struct file_operations ramfs_file_operations; |
| 19 | extern struct vm_operations_struct generic_file_vm_ops; | 19 | extern struct vm_operations_struct generic_file_vm_ops; |
| 20 | extern int __init init_rootfs(void); | ||
| 20 | 21 | ||
| 21 | #endif | 22 | #endif |
diff --git a/include/linux/tty.h b/include/linux/tty.h index ea4c2605f8da..44091c0db0b4 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
| @@ -307,6 +307,9 @@ extern void tty_ldisc_put(int); | |||
| 307 | extern void tty_wakeup(struct tty_struct *tty); | 307 | extern void tty_wakeup(struct tty_struct *tty); |
| 308 | extern void tty_ldisc_flush(struct tty_struct *tty); | 308 | extern void tty_ldisc_flush(struct tty_struct *tty); |
| 309 | 309 | ||
| 310 | extern int tty_ioctl(struct inode *inode, struct file *file, unsigned int cmd, | ||
| 311 | unsigned long arg); | ||
| 312 | |||
| 310 | extern struct mutex tty_mutex; | 313 | extern struct mutex tty_mutex; |
| 311 | 314 | ||
| 312 | /* n_tty.c */ | 315 | /* n_tty.c */ |
