From: Andrew Morton Nope, that didn't work. Really give up and put the declaration in the .c file :( Signed-off-by: Andrew Morton --- fs/compat.c | 2 ++ include/linux/compat.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff -puN include/linux/compat.h~pselect-ppoll-system-calls-sigset_t-fix-e include/linux/compat.h --- 25/include/linux/compat.h~pselect-ppoll-system-calls-sigset_t-fix-e Sun Jun 26 16:38:26 2005 +++ 25-akpm/include/linux/compat.h Sun Jun 26 16:38:43 2005 @@ -48,7 +48,6 @@ typedef struct { compat_sigset_word sig[_COMPAT_NSIG_WORDS]; } compat_sigset_t; -extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat); extern int cp_compat_stat(struct kstat *, struct compat_stat __user *); extern int get_compat_timespec(struct timespec *, const struct compat_timespec __user *); extern int put_compat_timespec(const struct timespec *, struct compat_timespec __user *); diff -puN fs/compat.c~pselect-ppoll-system-calls-sigset_t-fix-e fs/compat.c --- 25/fs/compat.c~pselect-ppoll-system-calls-sigset_t-fix-e Sun Jun 26 16:38:26 2005 +++ 25-akpm/fs/compat.c Sun Jun 26 16:38:53 2005 @@ -51,6 +51,8 @@ #include #include +extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat); + /* * Not all architectures have sys_utime, so implement this in terms * of sys_utimes. _