extern decls in .c files are evil. Put the send_sigio(), fcntl_setlease() and fcntl_getlease() into fs.h. 25-akpm/fs/dnotify.c | 2 -- 25-akpm/fs/fcntl.c | 4 +--- 25-akpm/include/linux/fs.h | 4 ++++ 25-akpm/kernel/futex.c | 3 +-- 4 files changed, 6 insertions(+), 7 deletions(-) diff -puN fs/dnotify.c~send_sigio-decl-fix fs/dnotify.c --- 25/fs/dnotify.c~send_sigio-decl-fix Thu Aug 28 11:46:52 2003 +++ 25-akpm/fs/dnotify.c Thu Aug 28 11:47:08 2003 @@ -20,8 +20,6 @@ #include #include -extern void send_sigio(struct fown_struct *fown, int fd, int band); - int dir_notify_enable = 1; static rwlock_t dn_lock = RW_LOCK_UNLOCKED; diff -puN kernel/futex.c~send_sigio-decl-fix kernel/futex.c --- 25/kernel/futex.c~send_sigio-decl-fix Thu Aug 28 11:46:52 2003 +++ 25-akpm/kernel/futex.c Thu Aug 28 11:47:27 2003 @@ -28,6 +28,7 @@ */ #include #include +#include #include #include #include @@ -61,8 +62,6 @@ struct futex_q { static struct list_head futex_queues[1< #include +#include #include #include #include @@ -18,9 +19,6 @@ #include #include -extern int fcntl_setlease(unsigned int fd, struct file *filp, long arg); -extern int fcntl_getlease(struct file *filp); - void set_close_on_exec(unsigned int fd, int flag) { struct files_struct *files = current->files; _