devfs(9): Rename DEVFS_DECLARE_CLONE_BITMAP to DEVFS_DEFINE_CLONE_BITMAP.
authorSascha Wildner <saw@online.de>
Wed, 2 Dec 2015 20:14:10 +0000 (21:14 +0100)
committerSascha Wildner <saw@online.de>
Wed, 2 Dec 2015 20:14:10 +0000 (21:14 +0100)
commit0cf7fc2c82ff74133aba14fda9c476d564ce3506
treef977c343f4dbd574b75560374960932ac0e9fe12
parent2b0289a97e0e76580901f120d69fffa5e1fb4f25
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.
20 files changed:
share/man/man9/Makefile
share/man/man9/make_autoclone_dev.9
sys/bus/cam/scsi/scsi_target.c
sys/bus/u4b/net/usb_ethernet.c
sys/dev/disk/vn/vn.c
sys/dev/misc/gpio/gpio.c
sys/dev/misc/gpio/gpio_led.c
sys/dev/misc/putter/putter.c
sys/dev/misc/snp/snp.c
sys/dev/sound/clone.c
sys/dev/sound/pcm/dsp.c
sys/dev/sound/pcm/sound.c
sys/kern/kern_udev.c
sys/kern/tty_pty.c
sys/net/bpf.c
sys/net/tap/if_tap.c
sys/net/tun/if_tun.c
sys/netproto/smb/smb_dev.c
sys/sys/devfs.h
sys/vfs/devfs/devfs_core.c