From: Lennart Poettering Date: Fri, 3 Oct 2008 15:14:35 +0000 (+0200) Subject: a bit of late pa_bool_t'ization X-Git-Tag: submit/2.0-panda/20130828.192557~2621 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c2cb775836abc700a8b1e68831ff914ef726303;p=profile%2Fivi%2Fpulseaudio-panda.git a bit of late pa_bool_t'ization --- diff --git a/src/pulsecore/namereg.c b/src/pulsecore/namereg.c index ad697ed..ad702e4 100644 --- a/src/pulsecore/namereg.c +++ b/src/pulsecore/namereg.c @@ -97,7 +97,7 @@ void pa_namereg_free(pa_core *c) { pa_hashmap_free(c->namereg, NULL, NULL); } -const char *pa_namereg_register(pa_core *c, const char *name, pa_namereg_type_t type, void *data, int fail) { +const char *pa_namereg_register(pa_core *c, const char *name, pa_namereg_type_t type, void *data, pa_bool_t fail) { struct namereg_entry *e; char *n = NULL; diff --git a/src/pulsecore/namereg.h b/src/pulsecore/namereg.h index 3c1de8e..f458100 100644 --- a/src/pulsecore/namereg.h +++ b/src/pulsecore/namereg.h @@ -35,7 +35,7 @@ typedef enum pa_namereg_type { void pa_namereg_free(pa_core *c); -const char *pa_namereg_register(pa_core *c, const char *name, pa_namereg_type_t type, void *data, int fail); +const char *pa_namereg_register(pa_core *c, const char *name, pa_namereg_type_t type, void *data, pa_bool_t fail); void pa_namereg_unregister(pa_core *c, const char *name); void* pa_namereg_get(pa_core *c, const char *name, pa_namereg_type_t type, pa_bool_t autoload); int pa_namereg_set_default(pa_core*c, const char *name, pa_namereg_type_t type);