diff --git a/ptp4l.c b/ptp4l.c index 9e04f0b..c41e642 100644 --- a/ptp4l.c +++ b/ptp4l.c @@ -29,7 +29,6 @@ #include "transport.h" int assume_two_step; -int sk_tx_retries = 2, sk_prefer_layer2 = 0; /*see sk.c*/ double configured_pi_kp, configured_pi_ki; /*see pi.c*/ extern unsigned char ptp_dst_mac[]; /*see raw.c*/ extern unsigned char p2p_dst_mac[]; /*see raw.c*/ diff --git a/sk.c b/sk.c index 577ace0..84cf11e 100644 --- a/sk.c +++ b/sk.c @@ -30,6 +30,10 @@ #include "print.h" #include "sk.h" +/* globals */ + +int sk_tx_retries = 2, sk_prefer_layer2 = 0; + /* private methods */ static int hwts_init(int fd, char *device)