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:
@@ -45,11 +45,11 @@ struct profinfo {
|
||||
_WINHANDLE targthr; /* thread to profile */
|
||||
_WINHANDLE profthr; /* profiling thread */
|
||||
_WINHANDLE quitevt; /* quit event */
|
||||
u_short *counter; /* profiling counters */
|
||||
uint16_t *counter; /* profiling counters */
|
||||
size_t lowpc, highpc; /* range to be profiled */
|
||||
u_int scale; /* scale value of bins */
|
||||
uint32_t scale; /* scale value of bins */
|
||||
};
|
||||
|
||||
int profile_ctl(struct profinfo *, char *, size_t, size_t, u_int);
|
||||
int profil(char *, size_t, size_t, u_int);
|
||||
int profile_ctl(struct profinfo *, char *, size_t, size_t, uint32_t);
|
||||
int profil(char *, size_t, size_t, uint32_t);
|
||||
|
||||
|
Reference in New Issue
Block a user