[PATCH 2/3] common: Drop time.h from common header
Tom Rini
trini at konsulko.com
Mon Sep 25 16:05:54 CEST 2023
On Sun, Sep 24, 2023 at 08:39:51PM -0600, Simon Glass wrote:
> Move this out of the common header and include it only where needed.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
[snip]
> diff --git a/cmd/cyclic.c b/cmd/cyclic.c
> index 946f1d78184d..f12edfa6b727 100644
> --- a/cmd/cyclic.c
> +++ b/cmd/cyclic.c
> @@ -1,5 +1,6 @@
> // SPDX-License-Identifier: GPL-2.0+
> /*
> +#include <time.h>
> * A general-purpose cyclic execution infrastructure, to allow "small"
> * (run-time wise) functions to be executed at a specified frequency.
> * Things like LED blinking or watchdog triggering are examples for such
This is wrong.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230925/af22742a/attachment.sig>
More information about the U-Boot
mailing list