> >    http://cr.opensolaris.org/~meem/clearview-ipobsdev
 > > 
 > > BTW, I also cleaned up some obvious merge errors that had crept into
 > > i.minorperm_sparc and SUNWhea/prototype_com.  I also made some small
 > > changes to ipnet.c to improve formatting and variable naming consistency.
 > 
 > Thanks for that.
 > 
 > ipnet.c:
 > 
 > * 987: You should be able to use ipnet->ipnet_acceptfn() directly
 > without dereferencing the function pointer.  Am I misreading the code?

True, any function pointer can be directly invoked without a dereference.
However, stylistically, I prefer to explicitly dereference the function
pointer to make it clear that is not a normal function call (though
admittedly in this case there's no ambiguity because C does not allow
member functions).

-- 
meem

Reply via email to