replace u_xxxx style, defined <sys/types.h>
replace: u_char -> unsigned char u_short -> unsigned short u_int -> unsigned int u_long (not used) include <sys/types.h> is kept. dicttool.h: fix include guard DICTTOLL -> DICTTOOL addelcmn.c:unsigned int addel_arg() deldic.c:unsigned int deldic() change u_short err -> unsigned int err (used for return value) Signed-off-by: SASANO Takayoshi <uaa@uaa.org.uk>
This commit is contained in:
parent
f5d94e3e41
commit
a9a6c86f12
99 changed files with 1711 additions and 1709 deletions
|
|
@ -51,7 +51,7 @@ struct gram_code {
|
|||
#define GramMax (sizeof(gramtbl)/sizeof(struct gram_code) - 1)
|
||||
|
||||
int
|
||||
u_strcmp(u_char* a, u_char* b)
|
||||
u_strcmp(unsigned char* a, unsigned char* b)
|
||||
{
|
||||
if (!a || !b) return 0;
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ u_strcmp(u_char* a, u_char* b)
|
|||
|
||||
|
||||
int
|
||||
cnvhinsi(u_char *buf)
|
||||
cnvhinsi(unsigned char *buf)
|
||||
{
|
||||
int min;
|
||||
int max;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue