git: devfs(9): Rename DEVFS_DECLARE_CLONE_BITMAP to DEVFS_DEFINE_CLONE_BITMAP.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Dec 2 12:15:38 PST 2015


commit 0cf7fc2c82ff74133aba14fda9c476d564ce3506
Author: Sascha Wildner <saw at online.de>
Date:   Wed Dec 2 21:14:10 2015 +0100

    devfs(9): Rename DEVFS_DECLARE_CLONE_BITMAP to DEVFS_DEFINE_CLONE_BITMAP.
    
    Also, add DEVFS_DECLARE_CLONE_BITMAP() for extern declarations, analogous
    to MALLOC_DEFINE() and MALLOC_DECLARE().
    
    In the sound code, replace some externs with DEVFS_DECLARE_CLONE_BITMAP()
    and remove one unneeded extern.

Summary of changes:
 share/man/man9/Makefile             |  3 ++-
 share/man/man9/make_autoclone_dev.9 | 15 +++++++++++----
 sys/bus/cam/scsi/scsi_target.c      |  2 +-
 sys/bus/u4b/net/usb_ethernet.c      |  2 +-
 sys/dev/disk/vn/vn.c                |  2 +-
 sys/dev/misc/gpio/gpio.c            |  2 +-
 sys/dev/misc/gpio/gpio_led.c        |  2 +-
 sys/dev/misc/putter/putter.c        |  2 +-
 sys/dev/misc/snp/snp.c              |  2 +-
 sys/dev/sound/clone.c               |  2 +-
 sys/dev/sound/pcm/dsp.c             |  2 +-
 sys/dev/sound/pcm/sound.c           |  2 --
 sys/kern/kern_udev.c                |  2 +-
 sys/kern/tty_pty.c                  |  2 +-
 sys/net/bpf.c                       |  2 +-
 sys/net/tap/if_tap.c                |  2 +-
 sys/net/tun/if_tun.c                |  2 +-
 sys/netproto/smb/smb_dev.c          |  2 +-
 sys/sys/devfs.h                     |  4 +++-
 sys/vfs/devfs/devfs_core.c          |  2 +-
 20 files changed, 32 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0cf7fc2c82ff74133aba14fda9c476d564ce3506


-- 
DragonFly BSD source repository


More information about the Commits mailing list