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

Philippe Gerum rpm at xenomai.org
Sun Aug 18 16:32:35 CEST 2019


On 8/18/19 4:26 PM, Tormod Volden via Xenomai wrote:
> 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)
>  {
> 

Ack.

-- 
Philippe.



More information about the Xenomai mailing list