On Mon, Dec 12, 2022 at 12:47:59PM +0100, Maciek Machnikowski wrote: > To enable handling lstab in the same way by different pps sources, move > update_leapsecond_table function from the nmea_pps_source to the generic lstab > file. This also required moving leapfile filename and its modification time to > the struct lstab.
Can you fix this up please? /home/richard/git/linuxptp/lstab.c:192:12: error: static declaration of ‘update_leapsecond_table’ follows non-static declaration static int update_leapsecond_table(struct lstab *lstab) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/richard/git/linuxptp/lstab.c:11: /home/richard/git/linuxptp/lstab.h:28:5: note: previous declaration of ‘update_leapsecond_table’ was here int update_leapsecond_table(struct lstab *lstab); ^~~~~~~~~~~~~~~~~~~~~~~ make: *** [<builtin>: lstab.o] Error 1 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel