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: 634 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (peon2454.g.dreamhost.com [208.113.200.127]) by wilcox.dreamhost.com (Postfix) with ESMTP id A0B72360A39 for ; Tue, 22 Apr 2014 04:32:00 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14307373) id 437022705DC7; Tue, 22 Apr 2014 04:32:00 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx21.g.dreamhost.com 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 homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id 0030B217CFC7 for ; Tue, 22 Apr 2014 04:31:59 -0700 (PDT) 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=OmchN+bHMgag47U0pbY/TWOjD5hV4 Cu2lQfASfspULfiZ7NW9UWP8gui03KGs2ep+ktzF1dbphahuIX56XT21N9yW+uAf YzD2fXuW4e3Gfaye5LukKxz2E5fXdUDdpdthbRmKktkwKNoElyUsdWkAE5j1HMFW Tr2GHv+HkNNcJk= 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=tzq a+epRAsEgFtZSjsRyECQs7X0pFmw3IRr5b0bpZ/FhSoWH1ORGxY87lPa1hPYcNzq qgFNTI5ziPg1pLa7y4a61e00vX9Cl4OR+BpHkX1M7WIRx5eCj+B02T0q0m/Ag4i1 ppaYX4qL+GnS+DUN1PnNryZHKDRDt3RV4dmTYgjQ= 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) X-DH-Original-To: glibc@patchwork.siddhesh.in 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