glibc/inet/netinet
Carlos O'Donell 3bfff2edbe BZ #16529: Fix pedantic warning with netinet/in.h.
When compiling with pedantic the following warning is seen:

gcc -Wall -pedantic -O0 -o test test.c
In file included from test.c:3:0:
/path/inet/netinet/in.h:111:21: warning: comma at end of \
enumerator list [-Wpedantic]
     IPPROTO_MH = 135,      /* IPv6 mobility header.  */
                     ^

It is valid C99 to have a trailing comma after the last item in
an enumeration. However it is not valid C90. If possible glibc
attempts to keep all headers C90 + long long without requiring
C99 features. In this case it's easy to fix the headers and it
removes the warning seem with -pedantic.
2014-02-06 11:18:51 -05:00
..
ether.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
icmp6.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
igmp.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
in.h BZ #16529: Fix pedantic warning with netinet/in.h. 2014-02-06 11:18:51 -05:00
ip6.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00