libccw/ccw.c: Include strings.h instead of string.h

Including string.h is incorrect as it doesn't provide the required
function prototype for strncasecmp() used in this file. Note that
the missing function prototype doesn't cause a compilation error
at the moment as the declaration is provided indirectly.

Use strings.h to provide the declaration for strncasecmp() directly,
avoiding unnecessary include dependencies and improving clarity.

Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Jan Polensky <japo@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Jan Polensky
2025-03-28 15:06:43 +01:00
committed by Jan Höppner
parent 549c7ef9e7
commit a68d1e323b

View File

@@ -10,7 +10,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include "lib/ccw.h"