Discussion:
rtsock compat versioning
(too old to reply)
Robert Swindells
2013-10-01 23:26:18 UTC
Permalink
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 ?

Robert Swindells

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Martin Husemann
2013-10-02 06:55:33 UTC
Permalink
Post by Robert Swindells
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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...