From patchwork Sat Nov 14 09:10:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Charlet X-Patchwork-Id: 544749 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 C23C5141176 for ; Sat, 14 Nov 2015 20:10:55 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=p4OcGrNP; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=AOqj+L68EmtwqaNSca8+rYBK3xoEXno9CnDgAKNhvRwCOQXxRu so/Iu2GyGGmkg29V3qG/geiBkeYTxrkV8sN3sMSKA6URD+ygiBoiyQaN42oyBFZp oMXdUgx+BXIwlWXtthHrUgx7BkrYwLbEbMEHBVKSlr1/701uk0tB2OFqI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=p2eIDYw3Dv3ibGyjocZz1YEpDtc=; b=p4OcGrNPwgeWJVCHLNxh L2PNsGoiHI3WIsZ6R9VOoOd6iziIWaIQuS72nyw+i54Hr8760jXE8RyqfUqTVZ+B o0NJpf5Oxg8sM8w7dC84FJrsTslPoFjqiYaTFbk47iTXwroEC+/6ChZ1Qr2pITMz 0tSMuaa5EiQoGVos5FMygII= Received: (qmail 72987 invoked by alias); 14 Nov 2015 09:10:48 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 72973 invoked by uid 89); 14 Nov 2015 09:10:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 14 Nov 2015 09:10:47 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 835302986D; Sat, 14 Nov 2015 04:10:45 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OqP2JxazBlnS; Sat, 14 Nov 2015 04:10:45 -0500 (EST) Received: from tron.gnat.com (tron.gnat.com [205.232.38.10]) by rock.gnat.com (Postfix) with ESMTP id 2402D2910F; Sat, 14 Nov 2015 04:10:45 -0500 (EST) Received: by tron.gnat.com (Postfix, from userid 4192) id 1E2B7316; Sat, 14 Nov 2015 04:10:45 -0500 (EST) Date: Sat, 14 Nov 2015 04:10:45 -0500 From: Arnaud Charlet To: gcc-patches@gcc.gnu.org Cc: gnugcc@marino.st Subject: [Ada] PR ada/68345 Message-ID: <20151114091045.GA66153@adacore.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) This is a mechanical change made blindly since I do not have access to a dragonfly system. Should fix PR ada/68345. Committed on trunk. 2015-11-13 Arnaud Charlet PR ada/68345 * s-osinte-dragonfly.ads (Get_Page_Size): C function returns an int. Index: s-osinte-dragonfly.ads =================================================================== --- s-osinte-dragonfly.ads (revision 230301) +++ s-osinte-dragonfly.ads (working copy) @@ -330,8 +330,7 @@ -- returns the stack base of the specified thread. Only call this function -- when Stack_Base_Available is True. - function Get_Page_Size return size_t; - function Get_Page_Size return Address; + function Get_Page_Size return int; pragma Import (C, Get_Page_Size, "getpagesize"); -- Returns the size of a page