explain this error and provide solutions please.

In file included from include/vlc_common.h:560:0,
                 from regexsearch_plugin.c:6:
include/vlc_tick.h: In function ‘vlc_tick_from_frac’:
include/vlc_tick.h:82:9: error: expected expression before ‘double’
         double:  vlc_tick_from_secf(sec), \
         ^
include/vlc_tick.h:114:12: note: in expansion of macro ‘vlc_tick_from_sec’
     return vlc_tick_from_sec( d.quot ) + vlc_tick_from_samples(d.rem, den);
            ^
include/vlc_tick.h: At top level:
include/vlc_tick.h:195:73: error: expected ‘;’, ‘,’ or ‘)’ before ‘ts’
 VLC_API struct timespec *vlc_tick_to_timespec(struct timespec *restrict ts,
                                                                         ^
include/vlc_tick.h:248:41: error: expected ‘;’, ‘,’ or ‘)’ before ‘date’
 VLC_API void date_Init(date_t *restrict date, uint32_t num, uint32_t den);
                                         ^
include/vlc_tick.h:257:43: error: expected ‘;’, ‘,’ or ‘)’ before ‘date’
 VLC_API void date_Change(date_t *restrict date, uint32_t num, uint32_t den);
                                           ^
include/vlc_tick.h:265:46: error: expected ‘;’, ‘,’ or ‘)’ before ‘date’
 static inline void date_Set(date_t *restrict date, vlc_tick_t value)
                                              ^
include/vlc_tick.h:277:67: error: expected ‘;’, ‘,’ or ‘)’ before ‘date’
 VLC_USED static inline vlc_tick_t date_Get(const date_t *restrict date)
                                                                 Give two different versions of responses. Please separate the responses with 6 asterisk symbols: ******.
user