From b084bc28ede5d397e88a4e2bdad8c07a55069589 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 11:03:39 +0200 Subject: use the "bool" data type instead of "int" "bool" should be used in C99 programs for boolean values. --- src/notify.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/notify.h') diff --git a/src/notify.h b/src/notify.h index 91140d356..0875eb3ce 100644 --- a/src/notify.h +++ b/src/notify.h @@ -19,12 +19,13 @@ #ifndef NOTIFY_H #define NOTIFY_H +#include #include struct notify { pthread_mutex_t mutex; pthread_cond_t cond; - int pending; + bool pending; }; #define NOTIFY_INITIALIZER { \ -- cgit v1.2.3