Re: [Linuxptp-devel] [PATCH RFC 03/30] rtnl: Constify the public interface.

2020-02-18 Thread Jacob Keller
On 2/11/2020 6:03 AM, Richard Cochran wrote: > Three of the rtnl methods never modify the strings passed in. This > patch adds the const keyword to ensure these functions stay that way. > > Signed-off-by: Richard Cochran Reviewed-by: Jacob Keller > --- > rtnl.c | 6 +++--- > rtnl.h | 6

[Linuxptp-devel] [PATCH RFC 03/30] rtnl: Constify the public interface.

2020-02-11 Thread Richard Cochran
Three of the rtnl methods never modify the strings passed in. This patch adds the const keyword to ensure these functions stay that way. Signed-off-by: Richard Cochran --- rtnl.c | 6 +++--- rtnl.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rtnl.c b/rtnl.c index