tools/nxstyle.c: fix defined but not used warning

fix defined but not used warning from CI:

  Warning: nxstyle.c:767:13: warning: ‘backslash_to_slash’ defined but not used [-Wunused-function]
    767 | static void backslash_to_slash(char *str)

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl 2025-05-22 17:32:52 +02:00 committed by Alan C. Assis
parent 889a26db1d
commit 442bc1c041

View file

@ -756,6 +756,7 @@ char *my_strndup(const char *s, size_t size)
# define strndup my_strndup
#endif
#ifdef CONFIG_WINDOWS_NATIVE
/********************************************************************************
* Name: backslash_to_slash
*
@ -781,6 +782,7 @@ static void backslash_to_slash(char *str)
}
}
}
#endif
/********************************************************************************
* Name: skip