|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] lib/ukmmap: Fix return type and add supress flag for cleaner build.
On 13.02.20 21:58, Felipe Huici wrote: Fix the return type of mremap and add -Wno-unused-parameter to provide a cleaner build. Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx --- lib/ukmmap/Makefile.uk | 2 ++ lib/ukmmap/mmap.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ukmmap/Makefile.uk b/lib/ukmmap/Makefile.uk index 71ff432..498a2ca 100644 --- a/lib/ukmmap/Makefile.uk +++ b/lib/ukmmap/Makefile.uk @@ -1,3 +1,5 @@ $(eval $(call addlib_s,libukmmap,$(CONFIG_LIBUKMMAP)))LIBUKMMAP_SRCS-y += $(LIBUKMMAP_BASE)/mmap.c For internal libs it is generally better to use `__unused` helper macro (uk/essentials.h) instead of suppressing warnings. return NULL; } _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |