From patchwork Mon Oct 1 21:35:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 147938 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4397720lji; Mon, 1 Oct 2018 14:35:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV628hYhZQD/CSZpp7P14agiP3oBNPSacaLdixkcyEKOQbIspNFQYs9NthUnAnwifRa+ZstDq X-Received: by 2002:a17:902:8543:: with SMTP id d3-v6mr13800943plo.81.1538429742663; Mon, 01 Oct 2018 14:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538429742; cv=none; d=google.com; s=arc-20160816; b=ikb1L8rYa+A9qWrRk/5peb5vZKLss3LF9CaY7Dgl5GVQHv8pDxd0Ly/n7XOthw5/eh CtuXeT0iIUaZ57/u48Q6VY4iFkaaa7UT/Z2kVkEV7DNm8e8i8eeGUz5NgAXWAWg+e1Sd XnYiI8ypNfRwvgZWydXcvbqtAZDlkAbuKs/nGBMAnDeL0y0v5sLx0EL4xCLjhYv3Lk6u /FNKjW5RSkcBZOnALkGwpgspMA+rVO9FOBNdlM5QeR9cFwGhLcCifYEEZyji+u7JUSIh tzquTjRcxAAXX9CFis0v/0WZwSjmrTTnShzYM7olM6aTrn6xCN5G5h4eChUCNdu8tsoo llJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature :delivered-to:sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=dmYPIWmKA7frpQPEZNhsEAvAEO4lbMhmIrXEcanVBJk=; b=JoCvtIJKie8MZ4OnmsXi0Yx6a1GjQSOerM7tt+34IOBgjlF861J6FC345Z1QiobgbU KLy4h/iaUvVYFDnOpQXKbM9FEFT7CqEWWiOoZyzlSw8w4b7U2cH/lRsVlFVxowaJJBtq CwJ8PWuHQpOUeZ17BPKIJT21bWh+X1lqyoDV4usyaFibIEKobdpgwkq4hpKbICpsarJ6 eKxtvs9Df1RttCPmWiC0Vntus0o8BCGk9i2iiaipisTzNC+LAXjoB7qfNWpgo0LJh0i/ uc1QGz3bS1L51Jf7w3gtm6Irw8nzAm3Ion2hbzNRNGiiKUZkG63Bu1gv3lp6FJY0rTMj MmLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=c+mOo3wL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HCc4PPwc; spf=pass (google.com: domain of newlib-return-16507-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="newlib-return-16507-patch=linaro.org@sourceware.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id v39-v6si12832167pgn.646.2018.10.01.14.35.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 14:35:42 -0700 (PDT) Received-SPF: pass (google.com: domain of newlib-return-16507-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=c+mOo3wL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HCc4PPwc; spf=pass (google.com: domain of newlib-return-16507-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="newlib-return-16507-patch=linaro.org@sourceware.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=odLShLN0qb7YTuaCVGcq3xBiy/OvO XxM0jBCMzbVihdK2cO5KMOZ5sGivX098ZO6t7tmTWtwYodiNoePb46vhNiv/Bjsu 0oMzWaJ5h4fVTTs6ljSapQ5X9UTBzZ21vZT88P9rNl6xElIGqei/sAiAHDidof3B bdHI9Lu8tvYG+Q= 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:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=OMWVEcbyGYMDyb9BSru7B58PoIk=; b=c+m Oo3wL/GyeeRBbHBUtIRNo3aOD3IJmXUYzih4Sy+iKGhjFNWQp7B9skQjqMIru/o2 boEX7QuUwer0DOzwcz+8tSkp/RvzVWor2sS9VFm9bWl4nKm/sz+IhpbQtvWK9UJw GGm5ny/d44yNOFGCh6HIwvduV3nRUaKd3TLEoCZA= Received: (qmail 41878 invoked by alias); 1 Oct 2018 21:35:34 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 41813 invoked by uid 89); 1 Oct 2018 21:35:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:759 X-HELO: mail-ua1-f43.google.com Received: from mail-ua1-f43.google.com (HELO mail-ua1-f43.google.com) (209.85.222.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Oct 2018 21:35:32 +0000 Received: by mail-ua1-f43.google.com with SMTP id 19so1838645uas.13 for ; Mon, 01 Oct 2018 14:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=KCqtiB4gLyFe/LQcv7YITQ1fPEqrlFmd7PlT92N1VL4=; b=HCc4PPwcgy8imdaLilQPkv4t8KBA/OV7K3sBb8SP5F7oi+kGYeVcELomScBCg0rYVb WIQuaRsN6eU3k/biZursXnf6MEl3Y14v8hMIeMOco9eecfOsHRU9kEyAc97nCASS1b3u b1IkzNQH7tZmRY5q71DazsNxpO1Bqwm4igTmQ= MIME-Version: 1.0 From: Christophe Lyon Date: Mon, 1 Oct 2018 23:35:19 +0200 Message-ID: Subject: [Aarch64] Fix _lseek prototype To: newlib@sourceware.org X-IsSubscribed: yes Hi, While building newlib for Aarch64, I noticed a warning in _lseek. This small patch fixes the prototype. OK? Christophe commit 21997b227745a47a9257096c5cd172e17eaa823b Author: Christophe Lyon Date: Mon Oct 1 19:10:10 2018 +0000 [Aarch64] Fix _lseek prototype 2018-10-01 Christophe Lyon * libgloss/aarch64/syscalls.c (_lseek): Fix prototype. diff --git a/libgloss/aarch64/syscalls.c b/libgloss/aarch64/syscalls.c index e6dd4bd..d6022fc 100644 --- a/libgloss/aarch64/syscalls.c +++ b/libgloss/aarch64/syscalls.c @@ -449,6 +449,7 @@ _swilseek (int fd, int ptr, int dir) return -1; } +int _lseek (int fd, int ptr, int dir) { return _swilseek (fd, ptr, dir);