]> git.alsa-project.org Git - alsa-gobject.git/commit
seq: user_client: use constant qualifier for read-only parameter
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 11 May 2020 09:03:33 +0000 (18:03 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Mon, 11 May 2020 09:40:48 +0000 (18:40 +0900)
commit31e397a70d70a49b426b82df49a525480f02ff84
tree7a98843ef5c301094ab74ff3696787f291354c0d
parent514cfe0e9fc1c62ab40fe9cd73b64d7fac229f90
seq: user_client: use constant qualifier for read-only parameter

The 'port_id' parameters of 'alsaseq_user_client_create_port()' is
a pointer to storage of unsigned char type, due to optional parameter
in g-i interface. It's read-only if having value and it's better to
have const qualifier.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/seq/user-client.c
src/seq/user-client.h