mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
549c7ef9e7
commit
a68d1e323b
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include "lib/ccw.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user