[PATCH] trank/rtdm: Add rt_dev_recvfrom() compat wrapper

Tormod Volden lists.tormod at gmail.com
Sun Aug 18 16:26:13 CEST 2019


From: Tormod Volden <debian.tormod at gmail.com>

Signed-off-by: Tormod Volden <debian.tormod at gmail.com>
---

I assume this one just fell through the cracks during a reorganization.

Should be safe for 3.0.x too.

Regards,
Tormod


 include/trank/rtdm/rtdm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/trank/rtdm/rtdm.h b/include/trank/rtdm/rtdm.h
index 9a0c965..80d874a 100644
--- a/include/trank/rtdm/rtdm.h
+++ b/include/trank/rtdm/rtdm.h
@@ -35,6 +35,7 @@ extern "C" {
 
 #define rt_dev_open(__args...)		rt_dev_call(open, __args)
 #define rt_dev_ioctl(__args...)		rt_dev_call(ioctl, __args)
+#define rt_dev_recvfrom(__args...)	rt_dev_call(recvfrom, __args)
 
 static inline int rt_dev_socket(int domain, int type, int protocol)
 {
-- 
2.7.4




More information about the Xenomai mailing list