[newlib-cygwin] fix typo in netinit/ip.h

Corinna Vinschen corinna@sourceware.org
Wed Mar 30 14:52:00 GMT 2016


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 */



More information about the Cygwin-cvs mailing list