diff options
author | dfr <dfr@FreeBSD.org> | 2008-04-04 09:43:03 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2008-04-04 09:43:03 +0000 |
commit | fd80ed90567011195f4cda1a7de91e5a5ef490a7 (patch) | |
tree | a78227416470b24f41a3b298a4512ef5615197ab /lib/libc/include | |
parent | dae02901d4b70eed4b1ba8f47235c1316e802c58 (diff) | |
download | FreeBSD-src-fd80ed90567011195f4cda1a7de91e5a5ef490a7.zip FreeBSD-src-fd80ed90567011195f4cda1a7de91e5a5ef490a7.tar.gz |
Add some compatibility code so that software which is built to use the new
struct flock with l_sysid member can work properly on an an old kernel which
doesn't support l_sysid.
Sponsored by: Isilon Systems
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/libc_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index de4bbe4..40a93bc 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -192,4 +192,7 @@ extern __ssize_t __sys_freebsd6_pread(int, void *, __size_t, int, __off_t); extern __ssize_t __sys_freebsd6_pwrite(int, const void *, __size_t, int, __off_t); extern void * __sys_freebsd6_mmap(void *, __size_t, int, int, int, int, __off_t); +/* Without back-compat translation */ +extern int __sys_fcntl(int, int, ...); + #endif /* _LIBC_PRIVATE_H_ */ |