From patchwork Tue Apr 22 11:32:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 341297 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 197EE14011B for ; Tue, 22 Apr 2014 21:32:03 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=HchCOTdtDFQr/9ldxzF9sIBt4yMO5 AezZP2fQ6xwt70iLvAsp5i825ibHfT4s9idM4+UUC18IR/7u4BtHJvMfwmaz1vBA 8mDEiTAW9BKOYVzgoTfzUOj/UBSTue+ujAZ77AMjqDaVG1dyLHBKcoriRxLJ8RRW owfrFz8KMIXMmU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=lWOibXHQrtqh6N6hQkA0tpWrHNk=; b=Ysp UGnxCE4n9zmAHO2kFEEmRvGHbyglvUXPKAqiT56blbo4bpb4KD9aka9XN7EibwUa /qYi0QhudKteqqmTKxnXXaZ8VEX0XrrUC1TrZ9EgHLfV65oEaAruvVUI8yMPNw1j gWMODvo9QmXHLhr9GOmbPksAxI1A+IAOyrmva+2A= Received: (qmail 6760 invoked by alias); 22 Apr 2014 11:31:57 -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 6750 invoked by uid 89); 22 Apr 2014 11:31:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_50, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Date: Tue, 22 Apr 2014 17:02:49 +0530 From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [COMMITTED] Include atomic.h Message-ID: <20140422113248.GI1868@spoyarek.pnq.redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) The functions use atomic_* functions but don't include atomic.h directly. Siddhesh commit 766c4a363d5487dde04bb5e968c3db8b383ec3c2 Author: Siddhesh Poyarekar Date: Tue Apr 22 16:57:49 2014 +0530 Include atomic.h in sem_wait.c and sem_trywait.c diff --git a/ChangeLog b/ChangeLog index 1d42c68..8c0f2a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-04-22 Siddhesh Poyarekar + + * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h. + * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise. + 2014-04-22 Will Newton Venkataramanan Kumar diff --git a/nptl/sysdeps/unix/sysv/linux/sem_trywait.c b/nptl/sysdeps/unix/sysv/linux/sem_trywait.c index aa1775a..94c323c 100644 --- a/nptl/sysdeps/unix/sysv/linux/sem_trywait.c +++ b/nptl/sysdeps/unix/sysv/linux/sem_trywait.c @@ -22,6 +22,7 @@ #include #include #include +#include #include diff --git a/nptl/sysdeps/unix/sysv/linux/sem_wait.c b/nptl/sysdeps/unix/sysv/linux/sem_wait.c index 7d586cf..b12babb 100644 --- a/nptl/sysdeps/unix/sysv/linux/sem_wait.c +++ b/nptl/sysdeps/unix/sysv/linux/sem_wait.c @@ -25,6 +25,7 @@ #include #include +#include void