mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-28 01:40:36 -05:00
core-util: Use size_t for out parameter of pa_split_*in_place()
pa_split_in_place() and pa_split_spaces_in_place() are modifed to use size_t type instead of integer type. alsa-ucm.c is revised according to this change. Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
This commit is contained in:
parent
c235acd787
commit
eec27ec686
3 changed files with 6 additions and 6 deletions
|
|
@ -109,9 +109,9 @@ static inline const char *pa_strna(const char *x) {
|
|||
}
|
||||
|
||||
char *pa_split(const char *c, const char *delimiters, const char **state);
|
||||
const char *pa_split_in_place(const char *c, const char *delimiters, int *n, const char **state);
|
||||
const char *pa_split_in_place(const char *c, const char *delimiters, size_t *n, const char **state);
|
||||
char *pa_split_spaces(const char *c, const char **state);
|
||||
const char *pa_split_spaces_in_place(const char *c, int *n, const char **state);
|
||||
const char *pa_split_spaces_in_place(const char *c, size_t *n, const char **state);
|
||||
|
||||
char *pa_strip_nl(char *s);
|
||||
char *pa_strip(char *s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue