clock: assert that there is only one master
commit940092fdba5438f50f5fb320dea54e98ca054303
authorThomas Guillem <thomas@gllm.fr>
Fri, 18 Sep 2020 12:57:55 +0000 (18 14:57 +0200)
committerThomas Guillem <thomas@gllm.fr>
Mon, 21 Sep 2020 12:10:26 +0000 (21 14:10 +0200)
treef353fdcf97db434e8b0db49723cc00fe3d7f6340
parent7f1c214efffa9321cf43dc792468fbe206ca13b8
clock: assert that there is only one master

If a second master was created, the first one was automatically
downgraded without notifying the owner.

This was never the case since es_out.c, the only clock client (for now)
is always ensuring that only one master is created.
src/clock/clock.c
src/clock/clock.h