1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/sys/fs
Bruce Evans f57e65478d Introduced a type `vop_t' for vnode operation functions and used
it 1138 times (:-() in casts and a few more times in declarations.
This change is null for the i386.

The type has to be `typedef int vop_t(void *)' and not `typedef
int vop_t()' because `gcc -Wstrict-prototypes' warns about the
latter.  Since vnode op functions are called with args of different
(struct pointer) types, neither of these function types is any use
for type checking of the arg, so it would be preferable not to use
the complete function type, especially since using the complete
type requires adding 1138 casts to avoid compiler warnings and
another 40+ casts to reverse the function pointer conversions before
calling the functions.
1995-11-09 08:17:23 +00:00
..
cd9660 Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
deadfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
fdescfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
fifofs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
msdosfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
nullfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
portalfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
procfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
specfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
umapfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
unionfs Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00