More FBSD syscall tweaking
authorBen Kaduk <kaduk@mit.edu>
Wed, 29 Sep 2010 00:03:25 +0000 (20:03 -0400)
committerDerrick Brashear <shadow@dementia.org>
Wed, 29 Sep 2010 03:01:31 +0000 (20:01 -0700)
commit791b7a4c660ef468286eb6f51e66b4faa4bb6c7b
treeef7be2ee771d49560414b5caee8e93ccf289a563
parent50920c0384189a6c635ca58c38bf7c942c0446b2
More FBSD syscall tweaking

We're now properly registered in syscalls.master for HEAD
(i.e. proto-9.0) and RELENG_8 (proto-8.2), which means that
afs3_syscall is prototyped in sys/sysproto.h .  Accordingly,
don't declare it in afs_prototypes.h for those cases.

Also add FBSD82_ENV checks for the new syscall-registration code,
and cast afs3_syscall to sy_call_t* for the sysent structure.

Change-Id: I0e7427274b018043c3a6a8ca6181a78a385d9aa2
Reviewed-on: http://gerrit.openafs.org/2864
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/FBSD/osi_vfsops.c
src/afs/afs_prototypes.h