On Fri, Aug 05, 2022 at 07:56:38PM +0300, Vladimir Oltean wrote:
> > Need to keep this include in order to make sure declaration and
> > definition of ts2phc_phc_pps_source_create() are consistent.
>
> ts2phc.h includes ts2phc_phc_pps_source.h.
Still it is best practice NOT to rely on transitive
On Mon, Jun 13, 2022 at 03:27:13PM -0700, Richard Cochran wrote:
> On Tue, Nov 23, 2021 at 02:14:15AM +0200, Vladimir Oltean wrote:
>
> > diff --git a/ts2phc_phc_pps_source.c b/ts2phc_phc_pps_source.c
> > index ffb96ef7299a..fca653f99499 100644
> > --- a/ts2phc_phc_pps_source.c
> > +++
On Tue, Nov 23, 2021 at 02:14:15AM +0200, Vladimir Oltean wrote:
> diff --git a/ts2phc_phc_pps_source.c b/ts2phc_phc_pps_source.c
> index ffb96ef7299a..fca653f99499 100644
> --- a/ts2phc_phc_pps_source.c
> +++ b/ts2phc_phc_pps_source.c
> @@ -12,15 +12,14 @@
> #include "phc.h"
> #include
This propagates the use of "struct ts2phc_private" all the way into the
PPS source API, in preparation of a new use case that will be supported
soon: some PPS sources (to be precise, the "PHC" kind) instantiate a
struct clock which could be disciplined by ts2phc.
When a PHC A emits a pulse and