From patchwork Mon Aug 25 19:27:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 2531 Received: (qmail 26768 invoked by alias); 25 Aug 2014 19:28:02 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 26674 invoked by uid 89); 25 Aug 2014 19:28:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f73.google.com Received: from mail-qa0-f73.google.com (HELO mail-qa0-f73.google.com) (209.85.216.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 25 Aug 2014 19:28:00 +0000 Received: by mail-qa0-f73.google.com with SMTP id s7so1613314qap.4 for ; Mon, 25 Aug 2014 12:27:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=0QMsaWggFSQ434PtAFHgkHIM3xipiyx5BIofNo9MEhE=; b=X7Cr7kcOTYHS7dAVTrWFGiTMYjBHWGpHtgCaFE52YRZHsfFeKeA3HJqZC+40qkV9Mn hthTJJLDfRIn5RY3+JeZwJPnmZK4IqRc9JdxgGzf88t5r+z35lSrUl28eBoCRecqJcSb VELrI6Ezi2Nv5AffTm69AEowYfkWq5n7zbd/UJPWxL5IpaAV+oj2XbuDGqkxqLUlUpjm ZQlSzGhUj88ij+QuXRh+s4Nv1ERXxXAxLZndJE4nON0BN4t7tvC38IUAeRBBRIQZyywu v4fJtTiqCy7t/7YjBIA7DThrxJ4dn1dhZTLz/OVZxYacz0EP2z29hPOkbSivt0MhIPeV K7Vw== X-Gm-Message-State: ALoCoQmNyhJ+tWBeWpchwns+LB8RnjnC47+8lkyxyI0LGmHhMsx9ts76jxNfT8kdKfl3XCECjzoCOCHzsfX8jdwscNvwT2ZAVaRCDHF4i+Zt9dE70OaND1ib06WUrBnBTpkp+ojxDrna X-Received: by 10.236.34.233 with SMTP id s69mr1550114yha.57.1408994878537; Mon, 25 Aug 2014 12:27:58 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id d7si54171yho.2.2014.08.25.12.27.58 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Aug 2014 12:27:58 -0700 (PDT) Received: from ruffy.mtv.corp.google.com (ruffy.mtv.corp.google.com [172.17.128.44]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTPS id 199585A44C3 for ; Mon, 25 Aug 2014 12:27:58 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: [COMMITTED PATCH] gdb.threads/thread-execl.exp: #include . Date: Mon, 25 Aug 2014 12:27:57 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. clang was complaining: implicit declaration of function 'perror' is invalid in C99 [-Wimplicit-function-declaration] perror ("execl"); Committed. 2014-08-25 Doug Evans * gdb.threads/thread-execl.exp: #include . diff --git a/gdb/testsuite/gdb.threads/thread-execl.c b/gdb/testsuite/gdb.threads/thread-execl.c index f8027ba..28ad23f 100644 --- a/gdb/testsuite/gdb.threads/thread-execl.c +++ b/gdb/testsuite/gdb.threads/thread-execl.c @@ -18,6 +18,7 @@ #include #include #include +#include static const char *image;