Re: Warnings compiling a KLD #including vnode.h

2006-01-29 Thread Pranav Peshwe
On 1/29/06, Sergey Uvarov <[EMAIL PROTECTED]> wrote: > Pranav Peshwe wrote: > > Hello, > > I am trying to write a pretty simple KLD.It compiles and > > works correctly. > > > > But,if i #include vnode.h in the KLD then i get a number of warnings saying > > : > > > > @/sys/vnode.h:597: war

Re: Warnings compiling a KLD #including vnode.h

2006-01-29 Thread Sergey Uvarov
Pranav Peshwe wrote: Hello, I am trying to write a pretty simple KLD.It compiles and works correctly. But,if i #include vnode.h in the KLD then i get a number of warnings saying : @/sys/vnode.h:597: warning: "struct vop_lease_args" declared inside parameter list @/sys/vnode.h:597: warn

Warnings compiling a KLD #including vnode.h

2006-01-29 Thread Pranav Peshwe
Hello, I am trying to write a pretty simple KLD.It compiles and works correctly. But,if i #include vnode.h in the KLD then i get a number of warnings saying : @/sys/vnode.h:597: warning: "struct vop_lease_args" declared inside parameter list @/sys/vnode.h:597: warning: its scope is only