Replace deprecated <strings.h> with <string.h>
PATCH v3 1/1 Replace deprecated <strings.h> with <string.h>
I guess this won't really solve anything, just the issue.
Closes #521
Signed-off-by Jozef Pupava <[email protected]>
--- testcases/kernel/containers/share/ns_create.c | 1 - testcases/kernel/fs/fsx-linux/fsx-linux.c | 2 +- .../open_posix_testsuite/conformance/interfaces/sem_timedwait/3-1.c | 1 - .../open_posix_testsuite/conformance/interfaces/sem_timedwait/7-1.c | 1 - 4 files changed, 1 insertion(+), 4 deletions(-)
testcases/kernel/containers/share/ns_create.c +0 -1
@@ -30,7 +30,6 @@#include <sys/stat.h> #include <unistd.h> #include <string.h> -#include <strings.h> #include <errno.h> #include "test.h" #include "lapi/namespaces_constants.h"
testcases/kernel/fs/fsx-linux/fsx-linux.c +1 -1
@@ -43,7 +43,7 @@#include <sys/param.h> #include <limits.h> #include <time.h> -#include <strings.h> +#include <string.h> #include <sys/time.h> #endif #include <fcntl.h>
testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/3-1.c +0 -1
@@ -20,7 +20,6 @@#endif #include <semaphore.h> #include <stdio.h> -#include <strings.h> #include <time.h> #include <unistd.h> #include "posixtest.h"
testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/7-1.c +0 -1
@@ -21,7 +21,6 @@#endif #include <semaphore.h> #include <stdio.h> -#include <strings.h> #include <time.h> #include <unistd.h> #include "posixtest.h"
Signature · 1 line
2.16.4
PATCH v3 1/1 Replace deprecated <strings.h> with <string.h>
Hi!
Applied, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH v3 1/1 Replace deprecated <strings.h> with <string.h>
In reply to Jozef PupavaHi!
Btw, technically this was resend v2 not v3...
Signature · 2 lines
Cyril Hrubis [email protected]