[LTP] [PATCH] lapi/sched.h: don't include itself
Li Wang
liwang@redhat.com
Mon Nov 4 11:23:01 CET 2024
On Mon, Nov 4, 2024 at 5:57 PM Jan Stancek <jstancek@redhat.com> wrote:
> The header appears to be including itself by mistake.
>
> Signed-off-by: Jan Stancek <jstancek@redhat.com>
>
Reviewed-by: Li Wang <liwang@redhat.com>
---
> include/lapi/sched.h | 1 -
> 1 file changed, 1 deletion(-)
>
> Looks trivial to point I'm doubting if I'm missing something.
>
> diff --git a/include/lapi/sched.h b/include/lapi/sched.h
> index 8e7748d6e8d8..36f1ecad93c2 100644
> --- a/include/lapi/sched.h
> +++ b/include/lapi/sched.h
> @@ -13,7 +13,6 @@
> #include <inttypes.h>
> #include "config.h"
> #include "lapi/syscalls.h"
> -#include "lapi/sched.h"
>
> /* sched_attr is not defined in glibc < 2.41 */
> #ifndef SCHED_ATTR_SIZE_VER0
> --
> 2.43.0
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>
--
Regards,
Li Wang
More information about the ltp
mailing list