diff options
-rw-r--r-- | notmuch-client.h | 2 | ||||
-rw-r--r-- | notmuch-time.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index 1081a15..1e2a016 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -124,7 +124,7 @@ int notmuch_tag_command (void *ctx, int argc, char *argv[]); const char * -notmuch_time_relative_date (void *ctx, time_t then); +notmuch_time_relative_date (const void *ctx, time_t then); void notmuch_time_print_formatted_seconds (double seconds); diff --git a/notmuch-time.c b/notmuch-time.c index de56db9..e250c3d 100644 --- a/notmuch-time.c +++ b/notmuch-time.c @@ -43,7 +43,7 @@ #define DAY (24 * HOUR) #define RELATIVE_DATE_MAX 20 const char * -notmuch_time_relative_date (void *ctx, time_t then) +notmuch_time_relative_date (const void *ctx, time_t then) { struct tm tm_now, tm_then; time_t now = time(NULL); |