Browse Source

Add missing inline for dvb_time_format_UTC

master
Clément Vasseur 7 years ago
parent
commit
622c3bb358
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dvb/si/datetime.h

+ 1
- 1
dvb/si/datetime.h View File

@ -124,7 +124,7 @@ static inline uint32_t dvb_time_encode_duration(unsigned int duration_sec)
} }
#undef dec2bcd #undef dec2bcd
static time_t dvb_time_format_UTC(uint64_t UTC_time, struct tm *tm, char *output) {
static inline time_t dvb_time_format_UTC(uint64_t UTC_time, struct tm *tm, char *output) {
struct tm tm_local; struct tm tm_local;
if (tm == NULL) if (tm == NULL)
tm = &tm_local; tm = &tm_local;

Loading…
Cancel
Save