diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-19 19:14:18 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-19 19:14:18 +0000 |
commit | c74a7672b2392ed710d2732cd6f7026f00576c63 (patch) | |
tree | faa58053fc3d9e8eea2183e5cbcf72d6eef37ca5 /share | |
parent | 2592fe61d1d17a44ff5227aa3619a24bb2bc6cc5 (diff) |
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
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions