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

Jan Stancek jstancek@redhat.com
Mon Nov 4 10:57:24 CET 2024


The header appears to be including itself by mistake.

Signed-off-by: Jan Stancek <jstancek@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



More information about the ltp mailing list