From patchwork Fri Dec 12 09:17:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Liebler X-Patchwork-Id: 4208 Received: (qmail 14996 invoked by alias); 12 Dec 2014 09:17:55 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 14983 invoked by uid 89); 12 Dec 2014 09:17:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: libc-alpha@sourceware.org From: Stefan Liebler Subject: Re: [COMMITTED PATCH] Eliminate -Wno-format from printf/scanf tests. Date: Fri, 12 Dec 2014 10:17:24 +0100 Lines: 51 Message-ID: References: <20141211214806.F39792C3ADB@topped-with-meat.com> Mime-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <20141211214806.F39792C3ADB@topped-with-meat.com> Hi, please inlcude libc-internal.h for usage of DIAG_* macros. Thanks. --- 2014-12-12 Stefan Liebler stdio-common/test-vfprintf.c: Include libc-internal.h for usage of DIAG_* macros. stdio-common/tst-sprintf.c: Likewise. diff --git a/stdio-common/test-vfprintf.c b/stdio-common/test-vfprintf.c index 8483d8d..66e7d5c 100644 --- a/stdio-common/test-vfprintf.c +++ b/stdio-common/test-vfprintf.c @@ -25,6 +25,7 @@ #include #include #include +#include const char *locs[] = diff --git a/stdio-common/tst-sprintf.c b/stdio-common/tst-sprintf.c index ea3008b..d5284b9 100644 --- a/stdio-common/tst-sprintf.c +++ b/stdio-common/tst-sprintf.c @@ -2,6 +2,7 @@ #include #include #include +#include static int