Revision 3e236955 sysdep/bsd/krt-sock.c

View differences:

sysdep/bsd/krt-sock.c
898 898
/* Kernel sockets */
899 899

  
900 900
static int
901
krt_sock_hook(sock *sk, int size UNUSED)
901
krt_sock_hook(sock *sk, uint size UNUSED)
902 902
{
903 903
  struct ks_msg msg;
904 904
  int l = read(sk->fd, (char *)&msg, sizeof(msg));
......
918 918
}
919 919

  
920 920
static sock *
921
krt_sock_open(pool *pool, void *data, int table_id)
921
krt_sock_open(pool *pool, void *data, int table_id UNUSED)
922 922
{
923 923
  sock *sk;
924 924
  int fd;
......
1074 1074

  
1075 1075

  
1076 1076
struct ifa *
1077
kif_get_primary_ip(struct iface *i)
1077
kif_get_primary_ip(struct iface *i UNUSED6)
1078 1078
{
1079 1079
#ifndef IPV6
1080 1080
  static int fd = -1;

Also available in: Unified diff