sndiod: Use chronological order for {dev,port}_list
authorratchov <ratchov@openbsd.org>
Mon, 8 Mar 2021 09:42:50 +0000 (09:42 +0000)
committerratchov <ratchov@openbsd.org>
Mon, 8 Mar 2021 09:42:50 +0000 (09:42 +0000)
commit4e3adc96d8bca3350a2ad606a146af44c631d565
tree751880e1f344006a40a998af747d9866ce65a3be
parent2e623beb852068a3287fc94728e9384e231f281a
sndiod: Use chronological order for {dev,port}_list

This simplifies the logic of the initialization code, makes debug
printfs nicer and could slightly ease futur development.

No behavior change.
usr.bin/sndiod/dev.c
usr.bin/sndiod/midi.c
usr.bin/sndiod/sndiod.c