diff options
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/a.out.h | 2 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/in6.h | 6 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/mtio.h | 66 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/signal.h | 8 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/socket.h | 2 | ||||
-rw-r--r-- | winsup/cygwin/include/netinet/ip6.h | 2 | ||||
-rw-r--r-- | winsup/cygwin/include/resolv.h | 2 |
7 files changed, 44 insertions, 44 deletions
diff --git a/winsup/cygwin/include/a.out.h b/winsup/cygwin/include/a.out.h index 59fdd3dfb..87053668c 100644 --- a/winsup/cygwin/include/a.out.h +++ b/winsup/cygwin/include/a.out.h @@ -138,7 +138,7 @@ struct external_scnhdr { */ struct external_lineno { union { - uint32_t l_symndx; /* function name symbol index, iff l_lnno 0 */ + uint32_t l_symndx; /* function name symbol index, iff l_lnno 0 */ uint32_t l_paddr; /* (physical) address of line number */ } l_addr; uint16_t l_lnno; /* line number */ diff --git a/winsup/cygwin/include/cygwin/in6.h b/winsup/cygwin/include/cygwin/in6.h index fb787c0ea..2fd6315fb 100644 --- a/winsup/cygwin/include/cygwin/in6.h +++ b/winsup/cygwin/include/cygwin/in6.h @@ -74,9 +74,9 @@ struct in6_addr { union { - uint8_t __s6_addr[16]; - uint16_t __s6_addr16[8]; - uint32_t __s6_addr32[4]; + uint8_t __s6_addr[16]; + uint16_t __s6_addr16[8]; + uint32_t __s6_addr32[4]; } __u6; #define s6_addr __u6.__s6_addr #define s6_addr16 __u6.__s6_addr16 diff --git a/winsup/cygwin/include/cygwin/mtio.h b/winsup/cygwin/include/cygwin/mtio.h index f298a91a7..3c3f20ecd 100644 --- a/winsup/cygwin/include/cygwin/mtio.h +++ b/winsup/cygwin/include/cygwin/mtio.h @@ -220,39 +220,39 @@ struct mtpos { #define MT_ISSCSI2 0x72 /* Generic ANSI SCSI-2 tape unit */ /* More constants for mt_type. These are the codes used by Windows >= 5.1 */ -#define MT_ISDDS_4mm 0x20 -#define MT_ISMiniQic 0x21 -#define MT_ISTravan 0x22 -#define MT_ISQIC 0x23 -#define MT_ISMP_8mm 0x24 -#define MT_ISAME_8mm 0x25 -#define MT_ISAIT1_8mm 0x26 -#define MT_ISDLT 0x27 -#define MT_ISNCTP 0x28 -#define MT_ISIBM_3480 0x29 -#define MT_ISIBM_3490E 0x2a -#define MT_ISIBM_Magstar_3590 0x2b -#define MT_ISIBM_Magstar_MP 0x2c -#define MT_ISSTK_DATA_D3 0x2d -#define MT_ISSONY_DTF 0x2e -#define MT_ISDV_6mm 0x2f -#define MT_ISDMI 0x30 -#define MT_ISSONY_D2 0x31 -#define MT_ISCLEANER_CARTRIDGE 0x32 -#define MT_ISAVATAR_F2 0x4f -#define MT_ISMP2_8mm 0x50 -#define MT_ISDST_S 0x51 -#define MT_ISDST_M 0x52 -#define MT_ISDST_L 0x53 -#define MT_ISVXATape_1 0x54 -#define MT_ISVXATape_2 0x55 -#define MT_ISSTK_9840 0x56 -#define MT_ISLTO_Ultrium 0x57 -#define MT_ISLTO_Accelis 0x58 -#define MT_ISAIT_8mm 0x5a -#define MT_ISADR_1 0x5b -#define MT_ISADR_2 0x5c -#define MT_ISSTK_9940 0x5d +#define MT_ISDDS_4mm 0x20 +#define MT_ISMiniQic 0x21 +#define MT_ISTravan 0x22 +#define MT_ISQIC 0x23 +#define MT_ISMP_8mm 0x24 +#define MT_ISAME_8mm 0x25 +#define MT_ISAIT1_8mm 0x26 +#define MT_ISDLT 0x27 +#define MT_ISNCTP 0x28 +#define MT_ISIBM_3480 0x29 +#define MT_ISIBM_3490E 0x2a +#define MT_ISIBM_Magstar_3590 0x2b +#define MT_ISIBM_Magstar_MP 0x2c +#define MT_ISSTK_DATA_D3 0x2d +#define MT_ISSONY_DTF 0x2e +#define MT_ISDV_6mm 0x2f +#define MT_ISDMI 0x30 +#define MT_ISSONY_D2 0x31 +#define MT_ISCLEANER_CARTRIDGE 0x32 +#define MT_ISAVATAR_F2 0x4f +#define MT_ISMP2_8mm 0x50 +#define MT_ISDST_S 0x51 +#define MT_ISDST_M 0x52 +#define MT_ISDST_L 0x53 +#define MT_ISVXATape_1 0x54 +#define MT_ISVXATape_2 0x55 +#define MT_ISSTK_9840 0x56 +#define MT_ISLTO_Ultrium 0x57 +#define MT_ISLTO_Accelis 0x58 +#define MT_ISAIT_8mm 0x5a +#define MT_ISADR_1 0x5b +#define MT_ISADR_2 0x5c +#define MT_ISSTK_9940 0x5d struct mt_tape_info { long t_type; /* device type id (mt_type) */ diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h index bc4ad1832..ebb9ae329 100644 --- a/winsup/cygwin/include/cygwin/signal.h +++ b/winsup/cygwin/include/cygwin/signal.h @@ -362,7 +362,7 @@ struct sigaction { __extension__ union { - _sig_func_ptr sa_handler; /* SIG_DFL, SIG_IGN, or pointer to a function */ + _sig_func_ptr sa_handler; /* SIG_DFL, SIG_IGN, or pointer to a function */ #if __POSIX_VISIBLE >= 199309 void (*sa_sigaction) ( int, siginfo_t *, void * ); #endif @@ -371,12 +371,12 @@ struct sigaction int sa_flags; }; -#define SA_NOCLDSTOP 1 /* Do not generate SIGCHLD when children +#define SA_NOCLDSTOP 1 /* Do not generate SIGCHLD when children stop */ -#define SA_SIGINFO 2 /* Invoke the signal catching function +#define SA_SIGINFO 2 /* Invoke the signal catching function with three arguments instead of one */ -#define SA_RESTART 0x10000000 /* Restart syscall on signal return */ +#define SA_RESTART 0x10000000 /* Restart syscall on signal return */ #define SA_ONSTACK 0x20000000 /* Call signal handler on alternate signal stack provided by sigaltstack(2). */ diff --git a/winsup/cygwin/include/cygwin/socket.h b/winsup/cygwin/include/cygwin/socket.h index cdfa4b933..721dafcfa 100644 --- a/winsup/cygwin/include/cygwin/socket.h +++ b/winsup/cygwin/include/cygwin/socket.h @@ -114,7 +114,7 @@ struct OLD_msghdr struct iovec * msg_iov; /* Data blocks */ int msg_iovlen; /* Number of blocks */ void * msg_accrights; /* Per protocol magic */ - /* (eg BSD descriptor passing) */ + /* (eg BSD descriptor passing) */ int msg_accrightslen; /* Length of rights list */ }; #endif diff --git a/winsup/cygwin/include/netinet/ip6.h b/winsup/cygwin/include/netinet/ip6.h index 3f4cad092..f35ac748a 100644 --- a/winsup/cygwin/include/netinet/ip6.h +++ b/winsup/cygwin/include/netinet/ip6.h @@ -147,7 +147,7 @@ struct ip6_dest { #define IP6OPT_RTALERT_LEN 4 #define IP6OPT_RTALERT_MLD 0 /* Datagram contains an MLD message */ #define IP6OPT_RTALERT_RSVP 1 /* Datagram contains an RSVP message */ -#define IP6OPT_RTALERT_ACTNET 2 /* contains an Active Networks msg */ +#define IP6OPT_RTALERT_ACTNET 2 /* contains an Active Networks msg */ #define IP6OPT_MINLEN 2 #define IP6OPT_EID 0x8a /* 10 0 01010 */ diff --git a/winsup/cygwin/include/resolv.h b/winsup/cygwin/include/resolv.h index 9809e862d..0a102b7ef 100644 --- a/winsup/cygwin/include/resolv.h +++ b/winsup/cygwin/include/resolv.h @@ -151,7 +151,7 @@ struct res_sym { struct __res_state_ext; struct __res_state { - int retrans; /* retransmition time interval */ + int retrans; /* retransmition time interval */ int retry; /* number of times to retransmit */ u_long options; /* option flags - see below. */ int nscount; /* number of name servers */ |