diff --git a/pmc_common.c b/pmc_common.c index 71854c0..ee88bda 100644 --- a/pmc_common.c +++ b/pmc_common.c @@ -24,6 +24,7 @@ #include "tlv.h" #include "transport.h" #include "util.h" +#include "pmc_common.h" struct pmc { UInteger16 sequence_id; diff --git a/pmc_common.h b/pmc_common.h index cd4d2c0..f16eb9a 100644 --- a/pmc_common.h +++ b/pmc_common.h @@ -33,7 +33,7 @@ void pmc_destroy(struct pmc *pmc); int pmc_get_transport_fd(struct pmc *pmc); -void pmc_send_get_action(struct pmc *pmc, int id); +int pmc_send_get_action(struct pmc *pmc, int id); struct ptp_message *pmc_recv(struct pmc *pmc);