From 8c785b74c001e2cbfd1bafb35d2c18c55f287985 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 5 Sep 2012 09:58:12 -0400 Subject: [PATCH] opr: add time initializer macro add a macro that can be used to initialize an opr_time Change-Id: Ib73fc03d8ba333a054fa073153edafb130b2292b Reviewed-on: http://gerrit.openafs.org/8043 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/opr/opr_time.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opr/opr_time.h b/src/opr/opr_time.h index 7641e9f73..cd07408d2 100644 --- a/src/opr/opr_time.h +++ b/src/opr/opr_time.h @@ -21,6 +21,8 @@ struct opr_time { afs_int64 time; }; +#define OPR_TIME_INIT {0LL} + static_inline void opr_time_FromSecs(struct opr_time *out, time_t in) { -- 2.39.5