android_bionic/libc/kernel/uapi/sound
Colin Cross 4ac332279d Replace __packed with __attribute__((__packed__)) in uapi headers
Linux uapi headers use __packed as an abbreviation for
__attribute__((__packed__)).  In the upstream kernel headers this
is defined in linux/compiler_attributes.h, but it is not defined
in the uapi headers.  Bionic defines it in sys/cdefs.h, which will
almost always provide the needed definition, but there are uapi
headers that use __packed and do not include any system headers
that would include sys/cdefs.h.  Musl's sys/cdefs.h does not
define __packed, which leads to linker errors when __packed is
treated as a variable name.

Replace __packed with __attribute__((__packed__)) when importing
uapi headers to break the dependency on sys/cdefs.h.

Test: m USE_HOST_MUSL=true on oriole-userdebug in internal master
Change-Id: I45f80f4e5aec868b80ce8eb9d757a3e08ae3e1a9
2022-12-16 11:51:40 -08:00
..
intel/avs Update to v5.19 kernel headers. 2022-08-10 12:58:45 -07:00
sof Replace __packed with __attribute__((__packed__)) in uapi headers 2022-12-16 11:51:40 -08:00
asequencer.h
asoc.h Replace __packed with __attribute__((__packed__)) in uapi headers 2022-12-16 11:51:40 -08:00
asound.h Replace __packed with __attribute__((__packed__)) in uapi headers 2022-12-16 11:51:40 -08:00
asound_fm.h
compress_offload.h Update to v5.7 kernel headers. 2020-06-02 10:58:28 -07:00
compress_params.h Update to v5.7 kernel headers. 2020-06-02 10:58:28 -07:00
emu10k1.h Update to v5.6 kernel headers. 2020-04-10 10:53:48 -07:00
firewire.h Update to v6.0 kernel headers. 2022-10-05 16:58:32 -07:00
hdsp.h Update to v5.6 kernel headers. 2020-04-10 10:53:48 -07:00
hdspm.h Update to v5.6 kernel headers. 2020-04-10 10:53:48 -07:00
sb16_csp.h
sfnt_info.h
skl-tplg-interface.h Replace __packed with __attribute__((__packed__)) in uapi headers 2022-12-16 11:51:40 -08:00
snd_ar_tokens.h Update to v5.16 kernel headers. 2022-01-10 13:51:15 -08:00
snd_sst_tokens.h Update to v5.15 kernel headers. 2021-11-02 15:53:58 -07:00
tlv.h
usb_stream.h Update to v6.0 kernel headers. 2022-10-05 16:58:32 -07:00