]> git.notmuchmail.org Git - notmuch/blobdiff - date.c
date.c: Remove occurrences of gboolean.
[notmuch] / date.c
diff --git a/date.c b/date.c
index 016af4eac6d36a91b485facee50cd257385d2981..102d688afc86e1d8791a191ce5b5eed558194f5c 100644 (file)
--- a/date.c
+++ b/date.c
@@ -292,7 +292,7 @@ get_year (const char *in, size_t inlen)
        return year;
 }
 
-static gboolean
+static int
 get_time (const char *in, size_t inlen, int *hour, int *min, int *sec)
 {
        register const char *inptr;
@@ -486,7 +486,7 @@ parse_rfc822_date (date_token *tokens, int *tzone)
 static time_t
 parse_broken_date (date_token *tokens, int *tzone)
 {
-       gboolean got_wday, got_month, got_tzone;
+       int got_wday, got_month, got_tzone;
        int hour, min, sec, offset, n;
        date_token *token;
        struct tm tm;