1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/miscfs/portal
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
..
portal_vfsops.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
portal_vnops.c Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00
portal.h Introduced a type `vop_t' for vnode operation functions and used 1995-11-09 08:17:23 +00:00