aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-time.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-17 19:10:37 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-17 19:10:37 -0800
commit8b23a828c250c2711924511b85de6301de8b3f23 (patch)
treec92c7abfdfb3b51a61defe5d602a4e4c0ef55bf3 /notmuch-time.c
parent0da0131096c83311b91b00bd72f05fb1902c595d (diff)
Add some const correctness to talloc 'ctx' parameter.
The tentacles of const just keep reaching out.
Diffstat (limited to 'notmuch-time.c')
-rw-r--r--notmuch-time.c2
1 files changed, 1 insertions, 1 deletions
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);