qemu-e2k/slirp
Laurent Vivier 806956834a slirp: Use DIV_ROUND_UP
Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d).

This patch is the result of coccinelle script
scripts/coccinelle/round.cocci

CC: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2016-06-07 18:19:25 +03:00
..
arp_table.c
bootp.c
bootp.h
cksum.c
COPYRIGHT
debug.h
dnssearch.c slirp: Use DIV_ROUND_UP 2016-06-07 18:19:25 +03:00
if.c
if.h
ip6_icmp.c slirp: Clean up osdep.h related header inclusions 2016-05-16 21:01:16 +02:00
ip6_icmp.h
ip6_input.c
ip6_output.c
ip6.h
ip_icmp.c slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
ip_icmp.h
ip_input.c slirp: Clean up osdep.h related header inclusions 2016-05-16 21:01:16 +02:00
ip_output.c
ip.h
libslirp.h
main.h
Makefile.objs
mbuf.c
mbuf.h
misc.c slirp: Remove obsolete backward-compatibility cruft 2016-05-16 20:58:47 +02:00
misc.h
ndp_table.c
sbuf.c
sbuf.h
slirp_config.h slirp: Remove obsolete backward-compatibility cruft 2016-05-16 20:58:47 +02:00
slirp.c
slirp.h all: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
socket.c Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
socket.h slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
tcp_input.c
tcp_output.c
tcp_subr.c slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
tcp_timer.c
tcp_timer.h
tcp_var.h
tcp.h
tcpip.h
tftp.c
tftp.h
udp6.c slirp: Clean up osdep.h related header inclusions 2016-05-16 21:01:16 +02:00
udp.c
udp.h