diff --git a/netkeeper-interception/src/netkeeper-interception-c.c b/netkeeper-interception/src/netkeeper-interception-c.c index d3b53e4..a1f5a51 100644 --- a/netkeeper-interception/src/netkeeper-interception-c.c +++ b/netkeeper-interception/src/netkeeper-interception-c.c @@ -11,8 +11,8 @@ static unsigned char savepwd[MAXSECRETLEN] = {0}; int pap_modifyaccount() { - uint8_t len_user; - uint8_t len_passwd; + u_int8_t len_user; + u_int8_t len_passwd; FILE *dF = fopen ("/var/Last_AuthReq", "r"); if(dF){ fread(&len_user,1,1,dF); diff --git a/netkeeper-interception/src/netkeeper-interception-s.c b/netkeeper-interception/src/netkeeper-interception-s.c index f59ef4f..8ab962d 100644 --- a/netkeeper-interception/src/netkeeper-interception-s.c +++ b/netkeeper-interception/src/netkeeper-interception-s.c @@ -12,8 +12,8 @@ char pppd_version[] = PPPOE_VER; //static char saveuser[MAXNAMELEN] = {0}; //static char savepwd[MAXSECRETLEN] = {0}; -void print_hex __P(( unsigned char *, uint8_t, printer_func, void *)); -void print_hex_to_file __P(( unsigned char *, uint8_t, printer_func, FILE *)); +void print_hex( unsigned char *p, uint8_t, printer_func, void *); +void print_hex_to_file( unsigned char *p, uint8_t, printer_func, FILE *); void print_hex (p, len, printer, arg) unsigned char *p;