]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/conf-parser.c
Remove pa_bool_t and replace it with bool.
[pulseaudio] / src / pulsecore / conf-parser.c
index 062fa8e5d09173f1869b5c593eee3b1d3fec1628..200252bb7ad567dd2d180395b5f893d36d385cdc 100644 (file)
@@ -130,9 +130,9 @@ static int parse_line(pa_config_parser_state *state) {
                 return -1;
             }
 
-            state->in_proplist = TRUE;
+            state->in_proplist = true;
         } else
-            state->in_proplist = FALSE;
+            state->in_proplist = false;
 
         return 0;
     }
@@ -157,7 +157,7 @@ static int parse_line(pa_config_parser_state *state) {
 /* Go through the file and parse each line */
 int pa_config_parse(const char *filename, FILE *f, const pa_config_item *t, pa_proplist *proplist, void *userdata) {
     int r = -1;
-    pa_bool_t do_close = !f;
+    bool do_close = !f;
     pa_config_parser_state state;
 
     pa_assert(filename);
@@ -268,7 +268,7 @@ int pa_config_parse_size(pa_config_parser_state *state) {
 
 int pa_config_parse_bool(pa_config_parser_state *state) {
     int k;
-    pa_bool_t *b;
+    bool *b;
 
     pa_assert(state);
 
@@ -286,7 +286,7 @@ int pa_config_parse_bool(pa_config_parser_state *state) {
 
 int pa_config_parse_not_bool(pa_config_parser_state *state) {
     int k;
-    pa_bool_t *b;
+    bool *b;
 
     pa_assert(state);