diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-18 23:45:02 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-18 23:45:02 +0100 |
commit | ff5c270ee13fee617ccd5865aeb579762a3a9346 (patch) | |
tree | da197d91b96ab49ed549c527e511c04d2fb4854d | |
parent | 815b446109088e984d1aa5dc56ec2897dbf54e7f (diff) | |
download | gmrf-ff5c270ee13fee617ccd5865aeb579762a3a9346.tar gmrf-ff5c270ee13fee617ccd5865aeb579762a3a9346.zip |
Add unspecified time constant
-rw-r--r-- | include/gmrf/gmrf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/gmrf/gmrf.h b/include/gmrf/gmrf.h index c0a36ea..742848c 100644 --- a/include/gmrf/gmrf.h +++ b/include/gmrf/gmrf.h @@ -45,10 +45,12 @@ typedef struct gmrf_addr { uint8_t d[GMRF_ADDR_LEN]; } gmrf_addr_t; -typedef uint64_t gmrf_time_t; +static const gmrf_addr_t gmrf_addr_unspec = {}; -static const gmrf_addr_t gmrf_addr_unspec = {}; +typedef uint64_t gmrf_time_t; + +static const gmrf_time_t gmrf_time_unspec = UINT64_MAX; static inline bool gmrf_addr_equal(const gmrf_addr_t *addr1, const gmrf_addr_t *addr2) { |