> > +extern int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags); > > You could drop the 'extern' while you're at it. Done.
> > +extern int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags); > > You could drop the 'extern' while you're at it. Done.