summaryrefslogtreecommitdiff
path: root/include/netinet/udp.h
AgeCommit message (Collapse)AuthorFilesLines
2014-02-05reduce namespace pollution in netinet/udp.hRich Felker1-7/+10
the affected part of the header is responsible for providing both GNU and BSD versions of the udphdr structure. previously, the namespace-polluting GNU names were always used for the actual struct members, and the BSD names, which are named in a manner resembling a sane namespace, were always macros defined to expand to the GNU names. now, unless _GNU_SOURCE is defined, the BSD names are used as the actual structure members, and the macros and GNU names only come into play when the application requests them.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+35