Revision 6578a604 sysdep/linux/netlink/netlink.c

View differences:

sysdep/linux/netlink/netlink.c
409 409
}
410 410

  
411 411
void
412
krt_if_scan(struct kif_proto *p)
412
krt_if_scan(struct kif_proto *p UNUSED)
413 413
{
414 414
  struct nlmsghdr *h;
415 415

  
......
518 518
}
519 519

  
520 520
void
521
krt_set_notify(struct krt_proto *p, net *n, rte *new, rte *old)
521
krt_set_notify(struct krt_proto *p, net *n UNUSED, rte *new, rte *old)
522 522
{
523 523
  if (old && new)
524 524
    {
......
726 726
}
727 727

  
728 728
void
729
krt_scan_fire(struct krt_proto *p)	/* CONFIG_ALL_TABLES_AT_ONCE => p is NULL */
729
krt_scan_fire(struct krt_proto *p UNUSED)	/* CONFIG_ALL_TABLES_AT_ONCE => p is NULL */
730 730
{
731 731
  struct nlmsghdr *h;
732 732

  
......
771 771
}
772 772

  
773 773
static int
774
nl_async_hook(sock *sk, int size)
774
nl_async_hook(sock *sk, int size UNUSED)
775 775
{
776 776
  struct iovec iov = { nl_async_rx_buffer, NL_RX_SIZE };
777 777
  struct sockaddr_nl sa;
......
871 871
static u8 nl_cf_table[(NL_NUM_TABLES+7) / 8];
872 872

  
873 873
void
874
krt_scan_preconfig(struct config *c)
874
krt_scan_preconfig(struct config *c UNUSED)
875 875
{
876 876
  bzero(&nl_cf_table, sizeof(nl_cf_table));
877 877
}
......
909 909
}
910 910

  
911 911
void
912
krt_scan_shutdown(struct krt_proto *p, int last)
912
krt_scan_shutdown(struct krt_proto *p UNUSED, int last UNUSED)
913 913
{
914 914
}
915 915

  
916 916
void
917
krt_if_start(struct kif_proto *p)
917
krt_if_start(struct kif_proto *p UNUSED)
918 918
{
919 919
  nl_open();
920 920
  nl_open_async();

Also available in: Unified diff