diff --git a/sys/kernel/descrip.c b/sys/kernel/descrip.c index 3c53c73..50b784a 100644 --- a/sys/kernel/descrip.c +++ b/sys/kernel/descrip.c @@ -38,10 +38,6 @@ static struct file *kern_files = 0x0; -int sys_fcntl(struct thread *td, struct fcntl_args *uap) { - return (fnctl(td, uap)); -} - int fcntl(struct thread *td, struct fcntl_args *uap) { struct file *fp = 0x0; @@ -70,6 +66,10 @@ return (0x0); } +int sys_fcntl(struct thread *td, struct fcntl_args *uap) { + return (fnctl(td, uap)); +} + int falloc(struct thread *td, struct file **resultfp, int *resultfd) { struct file *fp = 0x0;