Throughout Cygwin, use u_intN_t or uintN_t

Don't use u_char, u_short, u_int or u_long in Cygwin, unless it refers
to the Winsock types.  Use u_intN_t in BSD-based sources, unsigned char
where strings are concerned, uintN_t otherwise.  Also:

	* net.cc: Fix comment, we're not using u_long anymore.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2016-03-24 16:39:15 +01:00
parent 6ba2b53c53
commit acc5f02ce8
16 changed files with 86 additions and 82 deletions

View File

@@ -130,10 +130,10 @@ struct gmonhdr {
#define MAXARCS ((1 << (8 * sizeof(HISTCOUNTER))) - 2)
struct tostruct {
size_t selfpc;
long count;
u_short link;
u_short pad;
size_t selfpc;
long count;
u_int16_t link;
u_int16_t pad;
};
/*
@@ -157,9 +157,9 @@ struct rawarc {
*/
struct gmonparam {
volatile LONG state;
u_short *kcount;
u_int16_t *kcount;
size_t kcountsize;
u_short *froms;
u_int16_t *froms;
size_t fromssize;
struct tostruct *tos;
size_t tossize;