git: world/kernel: Use the rounddown() macro in various places.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Oct 23 11:10:33 PDT 2019


commit ed183f8c2f9bb14cbccb8377f3cdd29e0971d8a0
Author: Sascha Wildner <saw at online.de>
Date:   Wed Oct 23 20:09:05 2019 +0200

    world/kernel: Use the rounddown() macro in various places.
    
    Tested-by: zrj

Summary of changes:
 bin/mined/mined.h                               |  5 ++---
 bin/pax/buf_subs.c                              |  7 +++----
 games/adventure/hdr.h                           |  2 +-
 games/adventure/subr.c                          |  2 +-
 games/larn/store.c                              |  8 +++++---
 gnu/usr.bin/rcs/lib/maketime.c                  |  4 ++--
 lib/libc/rpc/clnt_dg.c                          |  6 +++---
 lib/libc/rpc/svc_dg.c                           |  2 +-
 lib/libevtr/evtr.c                              |  3 ++-
 lib/libtcplay/io.c                              |  2 +-
 lib/libtelnet/pk.c                              |  3 ++-
 sbin/dhclient/dhclient.c                        |  2 +-
 sbin/dump/main.c                                |  2 +-
 sbin/fdisk/fdisk.c                              | 14 +++++++-------
 sbin/ffsinfo/ffsinfo.c                          |  2 +-
 sbin/fsck/inode.c                               |  2 +-
 sbin/growfs/growfs.c                            |  2 +-
 sys/ddb/db_output.c                             |  3 +--
 sys/dev/acpica/acpi_hp/acpi_hp.c                |  2 +-
 sys/dev/disk/nata/ata-raid.c                    |  4 ++--
 sys/dev/disk/nata/atapi-cd.c                    |  2 +-
 sys/dev/misc/syscons/scmouse.c                  |  8 +++-----
 sys/dev/netif/ath/ath_hal/ar5211/ar5211_reset.c |  2 +-
 sys/dev/netif/ath/ath_hal/ar5212/ar5111.c       |  3 +--
 sys/dev/raid/asr/i2odep.h                       |  2 +-
 sys/dev/raid/mrsas/mrsas.c                      |  2 +-
 sys/dev/sound/pci/hda/hdaa.c                    |  2 +-
 sys/dev/sound/pcm/feeder_eq.c                   |  5 ++---
 sys/dev/video/fb/fb.c                           |  2 +-
 sys/dev/video/fb/vga.c                          |  2 +-
 sys/kern/kern_proc.c                            |  3 +--
 sys/libkern/icrc32.c                            |  6 ++----
 sys/netinet/tcp_input.c                         |  2 +-
 sys/netinet/tcp_subr.c                          |  2 +-
 sys/vfs/devfs/devfs_vnops.c                     |  2 +-
 test/stress/fsx/fsx.c                           |  6 ++----
 usr.bin/at/parsetime.c                          |  4 ++--
 usr.sbin/mrouted/igmpv2.h                       |  3 +--
 usr.sbin/quot/quot.c                            |  4 ++--
 usr.sbin/rpcbind/rpcb_svc_com.c                 |  2 +-
 40 files changed, 66 insertions(+), 75 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ed183f8c2f9bb14cbccb8377f3cdd29e0971d8a0


-- 
DragonFly BSD source repository



More information about the Commits mailing list