diff options
-rw-r--r-- | src/log.c | 2 | ||||
-rw-r--r-- | src/main.c | 4 | ||||
-rw-r--r-- | src/pacrunner.h | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -96,7 +96,7 @@ static bool is_enabled(struct pacrunner_debug_desc *desc) return false; } -int __pacrunner_log_init(const char *debug, bool detach) +int __pacrunner_log_init(const char *debug, gboolean detach) { int option = LOG_NDELAY | LOG_PID; struct pacrunner_debug_desc *desc; @@ -116,8 +116,8 @@ static void disconnect_callback(DBusConnection *conn, void *user_data) static gchar *option_debug = NULL; static gchar *option_plugin = NULL; static gchar *option_noplugin = NULL; -static bool option_detach = true; -static bool option_version = false; +static gboolean option_detach = TRUE; +static gboolean option_version = FALSE; static bool parse_debug(const char *key, const char *value, gpointer user_data, GError **error) diff --git a/src/pacrunner.h b/src/pacrunner.h index 6d08b65..6731d7c 100644 --- a/src/pacrunner.h +++ b/src/pacrunner.h @@ -38,7 +38,7 @@ #include "log.h" -int __pacrunner_log_init(const char *debug, bool detach); +int __pacrunner_log_init(const char *debug, gboolean detach); void __pacrunner_log_cleanup(void); #include "plugin.h" |