From: Derrick Brashear Date: Wed, 5 Sep 2012 13:58:12 +0000 (-0400) Subject: opr: add time initializer macro X-Git-Tag: upstream/1.8.0_pre1^2~2048 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8c785b74c001e2cbfd1bafb35d2c18c55f287985;p=packages%2Fo%2Fopenafs.git 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 --- 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) {