diff options
Diffstat (limited to 'src/daemon/cpulimit.c')
-rw-r--r-- | src/daemon/cpulimit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/cpulimit.c b/src/daemon/cpulimit.c index 0abbac023..7c753978d 100644 --- a/src/daemon/cpulimit.c +++ b/src/daemon/cpulimit.c @@ -80,7 +80,7 @@ static pa_io_event *io_event = NULL; static struct sigaction sigaction_prev; /* Nonzero after pa_cpu_limit_init() */ -static pa_bool_t installed = FALSE; +static bool installed = false; /* The current state of operation */ static enum { @@ -209,7 +209,7 @@ int pa_cpu_limit_init(pa_mainloop_api *m) { return -1; } - installed = TRUE; + installed = true; reset_cpu_time(CPUTIME_INTERVAL_SOFT); @@ -230,7 +230,7 @@ void pa_cpu_limit_done(void) { if (installed) { pa_assert_se(sigaction(SIGXCPU, &sigaction_prev, NULL) >= 0); - installed = FALSE; + installed = false; } } |