Re: [Linuxptp-devel] [PATCH 1/2] include string.h for strncpy()

2023-10-20 Thread Richard Cochran
On Fri, Oct 20, 2023 at 01:24:51PM -0700, Khem Raj wrote: > Newer compilers complain about missing signatures for stncpy as said in > subject. Well, the why not state which compiler was used, and also share the warning output? Thanks, Richard ___

Re: [Linuxptp-devel] [PATCH 1/2] include string.h for strncpy()

2023-10-20 Thread Rahul Rameshbabu via Linuxptp-devel
On Fri, 20 Oct, 2023 12:47:39 -0700 Richard Cochran wrote: > On Thu, Oct 19, 2023 at 03:50:20PM +0100, Luca Fancellu wrote: >> From: Khem Raj >> >> Signed-off-by: Khem Raj >> --- >> interface.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/interface.c b/interface.c >> index

Re: [Linuxptp-devel] [PATCH 1/2] include string.h for strncpy()

2023-10-20 Thread Richard Cochran
On Thu, Oct 19, 2023 at 03:50:20PM +0100, Luca Fancellu wrote: > From: Khem Raj > > Signed-off-by: Khem Raj > --- > interface.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/interface.c b/interface.c > index 29229ad6f53d..9a83c36933e7 100644 > --- a/interface.c > +++ b/interface.c

[Linuxptp-devel] [PATCH 1/2] include string.h for strncpy()

2023-10-19 Thread Luca Fancellu
From: Khem Raj Signed-off-by: Khem Raj --- interface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/interface.c b/interface.c index 29229ad6f53d..9a83c36933e7 100644 --- a/interface.c +++ b/interface.c @@ -5,6 +5,7 @@ * @note SPDX-License-Identifier: GPL-2.0+ */ #include +#include