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;
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;
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);