CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2022/10/19 13:14:17

Modified files:
        sys/arch/hppa/gsc: harmony.c 
        sys/arch/luna88k/cbus: nec86.c 
        sys/arch/macppc/dev: aoa.c awacs.c daca.c onyx.c snapper.c 
                             tumbler.c 
        sys/arch/sparc64/dev: ce4231.c 
        sys/dev/isa    : ess.c gus.c pas.c sb.c 
        sys/dev/pci    : auacer.c auglx.c auich.c auixp.c autri.c 
                         auvia.c azalia.c cmpci.c cs4280.c cs4281.c 
                         eap.c emuxki.c envy.c esa.c eso.c fms.c 
                         maestro.c neo.c sv.c yds.c 
        sys/dev/sbus   : cs4231.c 
        sys/dev/tc     : bba.c 
        sys/dev/usb    : uaudio.c utvfu.c 

Log message:
Use C99 struct init for struct audio_hw_if

This audio(9) struct will lose a member, but drivers init their struct quite
inconsistently, most pre-C99 style.

Use C99 style everywhere, to get rid of all annoying differences and allow
for easy member removals/additions:
- don't change current order of members
- no explicit NULL members
- no comments or blank lines
- trailing comma in last member line

GENERIC.MP builds fine with this on arm64, amd64, i386 and sparc64.

macppc and alpha build-tested by miod
OK ratchov miod

Reply via email to