Cleanups for gcc4:
- Use socklen_t for socket functions - Remove an unnecessary extern - Signed/unsigned cleanups Reviewed by: harti
This commit is contained in:
parent
0a544c9fb0
commit
ba73f3dc8e
@ -191,6 +191,5 @@ size_t compress_prefix_list(struct in_addr *, size_t);
|
||||
void check_netif_name(const char *);
|
||||
void sock_error(int);
|
||||
|
||||
extern const struct proto protos[];
|
||||
extern const struct aal aals[];
|
||||
extern const struct encaps encaps[];
|
||||
|
@ -45,7 +45,7 @@ struct atmif {
|
||||
TAILQ_ENTRY(atmif) link;
|
||||
uint64_t found;
|
||||
int32_t index;
|
||||
u_char *ifname;
|
||||
char *ifname;
|
||||
size_t ifnamelen;
|
||||
uint32_t pcr;
|
||||
int32_t media;
|
||||
|
@ -1875,7 +1875,7 @@ static void
|
||||
get_local_ip (int s, long *aval)
|
||||
{
|
||||
char intf_name[IFNAMSIZ];
|
||||
int namelen = IFNAMSIZ;
|
||||
socklen_t namelen = IFNAMSIZ;
|
||||
struct air_netif_rsp *net_info = NULL;
|
||||
struct sockaddr_in *sain;
|
||||
|
||||
@ -2468,7 +2468,7 @@ ilmi_do_state(void)
|
||||
close ( ilmi_fd[intf] );
|
||||
ilmi_fd[intf] = -1;
|
||||
} else {
|
||||
bpp = (caddr_t)&buf[1];
|
||||
bpp = &buf[1];
|
||||
Hdr = asn_get_header(&bpp);
|
||||
|
||||
if ( Log && Debug_Level > 1 )
|
||||
|
Loading…
Reference in New Issue
Block a user