public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/2] lapi/mount.h: Document reason for not including <linux/mount.h>
@ 2024-05-16 11:20 Petr Vorel
  2024-05-16 11:20 ` [LTP] [PATCH 2/2] doc: Convert more C API info Petr Vorel
  2025-01-14 12:05 ` [LTP] [PATCH 1/2] lapi/mount.h: Document reason for not including <linux/mount.h> Andrea Cervesato via ltp
  0 siblings, 2 replies; 6+ messages in thread
From: Petr Vorel @ 2024-05-16 11:20 UTC (permalink / raw)
  To: ltp

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 include/lapi/mount.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/lapi/mount.h b/include/lapi/mount.h
index c1af944fe..e3e639965 100644
--- a/include/lapi/mount.h
+++ b/include/lapi/mount.h
@@ -1,12 +1,16 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * Copyright (c) Linux Test Project, 2015-2022
+ * Copyright (c) Linux Test Project, 2015-2024
  * Copyright (c) 2015 Cui Bixuan <cuibixuan@huawei.com>
  */
 
 #ifndef LAPI_MOUNT_H__
 #define LAPI_MOUNT_H__
 
+/*
+ * NOTE: <sys/mount.h> conflicts with <linux/mount.h>, therefore not added
+ * although some defintions from it are used.
+ */
 #include <sys/mount.h>
 
 #ifndef MS_REC
-- 
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-14 12:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 11:20 [LTP] [PATCH 1/2] lapi/mount.h: Document reason for not including <linux/mount.h> Petr Vorel
2024-05-16 11:20 ` [LTP] [PATCH 2/2] doc: Convert more C API info Petr Vorel
2024-05-16 11:35   ` Andrea Cervesato via ltp
2024-05-16 14:43     ` Petr Vorel
2025-01-14 12:02       ` Andrea Cervesato via ltp
2025-01-14 12:05 ` [LTP] [PATCH 1/2] lapi/mount.h: Document reason for not including <linux/mount.h> Andrea Cervesato via ltp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox