tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rtsock compat versioning



On Wed, Oct 02, 2013 at 12:26:18AM +0100, Robert Swindells wrote:
> 
> Can somebody explain how to add a function to sys/net/rtsock.c so that
> it doesn't also get defined in sys/compat/common/rtsock_50.c ?

#ifndef COMPAT_RTSOCK

should do the trick (we might need to qualify that a bit more if we have
multiple layers of compat there).

Martin


Home | Main Index | Thread Index | Old Index