From 8b23a828c250c2711924511b85de6301de8b3f23 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Nov 2009 19:10:37 -0800 Subject: Add some const correctness to talloc 'ctx' parameter. The tentacles of const just keep reaching out. --- notmuch-time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notmuch-time.c') diff --git a/notmuch-time.c b/notmuch-time.c index de56db9e..e250c3d5 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); -- cgit v1.2.3