This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] fix typo in netinit/ip.h
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 30 Mar 2016 14:52:01 -0000
- Subject: [newlib-cygwin] fix typo in netinit/ip.h
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=31dfc51a361fb96ea2a20e657076f842cac8790d
commit 31dfc51a361fb96ea2a20e657076f842cac8790d
Author: Peter Foley <pefoley2@pefoley.com>
Date: Wed Mar 30 09:15:55 2016 -0400
fix typo in netinit/ip.h
The type for the ip_tos member was typoed, fix it.
winsup/cygwin/ChangeLog:
include/netinet/ip.h: fix type of ip_tos
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Diff:
---
winsup/cygwin/include/netinet/ip.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/include/netinet/ip.h b/winsup/cygwin/include/netinet/ip.h
index b952d53..1f6ebbe 100644
--- a/winsup/cygwin/include/netinet/ip.h
+++ b/winsup/cygwin/include/netinet/ip.h
@@ -63,7 +63,7 @@ struct ip {
ip_hl:4; /* header length */
#endif
#endif /* not _IP_VHL */
- u_int_8 ip_tos; /* type of service */
+ u_int8_t ip_tos; /* type of service */
u_int16_t ip_len; /* total length */
u_int16_t ip_id; /* identification */
u_int16_t ip_off; /* fragment offset field */