From: Thomas Huth Subject: [kvm-unit-tests PATCH 0/3] Some more improvements related to compiler warnings Date: Thu, 29 Jun 2017 20:42:50 +0200 Message-ID: <1498761773-11164-1-git-send-email-thuth@redhat.com> Cc: David Hildenbrand , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Laurent Vivier , Drew Jones To: kvm@vger.kernel.org, Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33596 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbdF2SnJ (ORCPT ); Thu, 29 Jun 2017 14:43:09 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8430033F7EB for ; Thu, 29 Jun 2017 18:43:08 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: 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(-) -- 1.8.3.1