[LTP] [PATCH] lapi/sched.h: don't include itself

Cyril Hrubis chrubis@suse.cz
Mon Nov 4 14:13:06 CET 2024


Hi!

Added by:

commit 45f6916bae4cf417fd5a757ea8ca516d17865075
Author: Wei Gao via ltp <ltp@lists.linux.it>
Date:   Thu Aug 31 02:47:27 2023 -0400

    clone3: Add clone3's clone_args cgroup
    
    Signed-off-by: Wei Gao <wegao@suse.com>
    Reviewed-by: Richard Palethorpe <rpalethorpe@suse.com>
    [rpalethorpe: rm max_runtime]

diff --git a/include/lapi/sched.h b/include/lapi/sched.h
index 1065665d1..ac766efc5 100644
--- a/include/lapi/sched.h
+++ b/include/lapi/sched.h
@@ -13,6 +13,7 @@
 #include <inttypes.h>
 #include "config.h"
 #include "lapi/syscalls.h"
+#include "lapi/sched.h"


Along with a few additions. Looks like a mistake to me as well. And it's
no-op due to the header guards either way.

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list