]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/database-gdbm.c
remap: Change remapping function argument type from void to int16_t / float as approp...
[pulseaudio] / src / pulsecore / database-gdbm.c
index e65125d3387c019dbafafc8cbe1bfa587236016d..183dcf1d3281b846e311ec6e7baff8f460123c1f 100644 (file)
@@ -61,7 +61,7 @@ void pa_datum_free(pa_datum *d) {
     pa_zero(d);
 }
 
-pa_database* pa_database_open(const char *fn, pa_bool_t for_write) {
+pa_database* pa_database_open(const char *fn, bool for_write) {
     GDBM_FILE f;
     int gdbm_cache_size;
     char *path;
@@ -69,7 +69,7 @@ pa_database* pa_database_open(const char *fn, pa_bool_t for_write) {
     pa_assert(fn);
 
     /* We include the host identifier in the file name because gdbm
-     * files are CPU dependant, and we don't want things to go wrong
+     * files are CPU dependent, and we don't want things to go wrong
      * if we are on a multiarch system. */
     path = pa_sprintf_malloc("%s."CANONICAL_HOST".gdbm", fn);
     errno = 0;
@@ -117,7 +117,7 @@ pa_datum* pa_database_get(pa_database *db, const pa_datum *key, pa_datum* data)
         NULL;
 }
 
-int pa_database_set(pa_database *db, const pa_datum *key, const pa_datum* data, pa_bool_t overwrite) {
+int pa_database_set(pa_database *db, const pa_datum *key, const pa_datum* data, bool overwrite) {
     datum gdbm_key, gdbm_data;
 
     pa_assert(db);