On Sat, Apr 07, 2018 at 10:35:14PM +0200, Peter Schneider wrote: > @@ -1344,11 +1344,13 @@ int main(int argc, char *argv[]) > char *src_name = NULL, *dst_name = NULL; > struct clock *src, *dst; > struct config *cfg; > + struct option *opts; > int autocfg = 0, rt = 0; > int c, domain_number = 0, pps_fd = -1; > int r = -1, wait_sync = 0; > int print_level = LOG_INFO; > int ntpshm_segment; > + int index;
These ints could use some attention, too: int autocfg = 0, c, domain_number = 0, index, ntpshm_segment; int pps_fd = -1, print_level = LOG_INFO, r = -1, rt = 0, wait_sync = 0; Thanks, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel