[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH v2 5/6] Silence unused parameter warnings
Hi Florian, this looks good, thanks. Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx> On 28.05.19, 09:56, "Florian Schmidt" <Florian.Schmidt@xxxxxxxxx> wrote: Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx> Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx> --- locale.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/locale.c b/locale.c index c38aa3a..d432f37 100644 --- a/locale.c +++ b/locale.c @@ -1,26 +1,27 @@ #include <string.h> #include <stddef.h> -int strcoll_l(const char *s1, const char *s2, - locale_t locale) +int strcoll_l(const char *s1 __unused, const char *s2 __unused, + locale_t locale __unused) { return 0; } -size_t strxfrm_l(char *restrict s1, const char *restrict s2, - size_t n, locale_t locale) +size_t strxfrm_l(char *restrict s1 __unused, const char *restrict s2 __unused, + size_t n __unused, locale_t locale __unused) { return 0; } -int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, - locale_t locale) +int wcscoll_l(const wchar_t *ws1 __unused, const wchar_t *ws2 __unused, + locale_t locale __unused) { return 0; } -size_t wcsxfrm_l(wchar_t *restrict ws1, const wchar_t *restrict ws2, - size_t n, locale_t locale) +size_t wcsxfrm_l(wchar_t *restrict ws1 __unused, + const wchar_t *restrict ws2 __unused, + size_t n __unused, locale_t locale __unused) { return 0; } -- 2.21.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |