OSDN Git Service

cleanup: Use uint*_t instead of u_int*_t everythwere
authorNatanael Copa <ncopa@alpinelinux.org>
Fri, 14 Jul 2017 14:18:11 +0000 (16:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 15 Jul 2017 07:50:17 +0000 (09:50 +0200)
commitadab355f35c8fcb424b1336043634cf9a6856515
treee19b4d3fd9a271d91d2e89cde32e7ed33aa6cd2b
parent885c64bcc48f5734da964d2da2b9a5603d7b2c8b
cleanup: Use uint*_t instead of u_int*_t everythwere

Use the standard uint{8,16,32,64}_t everywhere instead of the
non-standard u_int{8,16,32,64}_t.

This changes the types in the public headers and removes the u_int*_t
defines. This may break things. However, indentifiers ending with _t are
reserved by POSIX[1]; defining those can lead to undefined behavior.

So if you rely on alsa-lib defining those for you, then you want the
compiler to error so things can be fixed properly.

[1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_02

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/pcm.h
include/type_compat.h
src/pcm/interval.c
src/pcm/mask_inline.h
src/pcm/pcm.c
src/pcm/pcm_iec958.c
src/pcm/pcm_linear.c
src/pcm/pcm_misc.c
src/pcm/pcm_rate_linear.c
src/pcm/pcm_route.c
src/pcm/plugin_ops.h