summaryrefslogtreecommitdiff
path: root/plugins/WhenWasIt/src/date_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WhenWasIt/src/date_utils.h')
-rw-r--r--plugins/WhenWasIt/src/date_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/WhenWasIt/src/date_utils.h b/plugins/WhenWasIt/src/date_utils.h
index 45db98fad7..6b4cfcc7f2 100644
--- a/plugins/WhenWasIt/src/date_utils.h
+++ b/plugins/WhenWasIt/src/date_utils.h
@@ -37,8 +37,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define SAVE_MODE_DELETEALL 100
time_t Today();
-int IsLeapYear(int year);
-int IsDOBValid(int year, int month, int day);
+bool IsLeapYear(int year);
+bool IsDOBValid(int year, int month, int day);
unsigned int DaysToBirthday(time_t now, int ctYear, int ctMonth, int ctDay);
int DaysAfterBirthday(time_t now, int ctYear, int ctMonth, int ctDay);