On 29/06/2017 20:42, Thomas Huth wrote: > Two patches to get rid of -Wextra and use other warning flags > globally instead, and an additional third patch to make some > functions "static" (to be able to compile the files with the > "-Wmissing-prototypes" parameter) > > Thomas Huth (3): > Move flags that are shared between C and C++ into COMMON_CFLAGS > Replace -Wextra with a saner list of warning flags > Mark some local functions as "static" > > Makefile | 27 ++++++++++++++++----------- > arm/Makefile.common | 1 - > arm/pmu.c | 2 +- > lib/pci-testdev.c | 4 ++-- > lib/printf.c | 8 ++++---- > lib/x86/fwcfg.c | 2 +- > powerpc/Makefile.common | 1 - > s390x/Makefile | 1 - > s390x/intercept.c | 2 +- > x86/Makefile.common | 4 ++-- > x86/Makefile.x86_64 | 2 +- > 11 files changed, 28 insertions(+), 26 deletions(-) > Applied, thanks. Paolo