Re: [Linuxptp-devel] [PATCH RFC 04/30] utils: Constify the posix clock interface.

2020-02-18 Thread Jacob Keller
On 2/11/2020 6:03 AM, Richard Cochran wrote: > The function to open a posix clock never modifies the passed in > string. This patch adds the const keyword to ensure this function > stays that way. > > Signed-off-by: Richard Cochran Reviewed-by: Jacob Keller > --- > util.c | 2 +- >

[Linuxptp-devel] [PATCH RFC 04/30] utils: Constify the posix clock interface.

2020-02-11 Thread Richard Cochran
The function to open a posix clock never modifies the passed in string. This patch adds the const keyword to ensure this function stays that way. Signed-off-by: Richard Cochran --- util.c | 2 +- util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util.c b/util.c