Make it easy for liburing to integrate uapi header with the kernel. Previously, when this header changes, the liburing side can't directly copy this header file due to some small differences. Sync them.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -12,6 +12,10 @@ · 11 unmodified lines | |||
| 12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 13 | #include <linux/time_types.h> | 13 | #include <linux/time_types.h> |
| 14 | 14 | ||
| 15 | #ifdef __cplusplus | ||
| 16 | extern "C" { | ||
| 17 | #endif | ||
| 18 | |||
| 15 | /* | 19 | /* |
| 16 | * IO submission data structure (Submission Queue Entry) | 20 | * IO submission data structure (Submission Queue Entry) |
| 17 | */ | 21 | */ |
| @@ -661,4 +665,8 @@ struct io_uring_recvmsg_out { · 643 unmodified lines | |||
| 661 | __u32 flags; | 665 | __u32 flags; |
| 662 | }; | 666 | }; |
| 663 | 667 | ||
| 668 | #ifdef __cplusplus | ||
| 669 | } | ||
| 670 | #endif | ||
| 671 | |||
| 664 | #endif | 672 | #endif |