From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id EF9BB3858413; Tue, 2 Jan 2024 04:35:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF9BB3858413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704170149; bh=1oZz6M6GRYVDAgnr+NEuHslR7UlYauqbQvg/pIJX/C4=; h=From:To:Subject:Date:From; b=GtilT0JFvamJrokfNNMmgQjTMSVRdQHH/3j2XXYkq4Y+SsroKaCB00NVhsDojmg7c +uHAmNH4sS4d916+cXhg5KHBxf3SUqkGXdED5lS6MqLHwVlQYxHJTIfpkkMPemiwUN 3Op6z197IE3hTNWdUvIMqGuvum/nMZjcVNIBrBu0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin/users/vapier/wip] libgloss: moxie: delete unused/invalid assembly file X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/users/vapier/wip X-Git-Oldrev: 616db3e80ca4d49c138f2f9db49b3b81b40c4504 X-Git-Newrev: f1055d1a840f9a0555c1de8593666ad8f5606151 Message-Id: <20240102043549.EF9BB3858413@sourceware.org> Date: Tue, 2 Jan 2024 04:35:49 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Df1055d1a840= f9a0555c1de8593666ad8f5606151 commit f1055d1a840f9a0555c1de8593666ad8f5606151 Author: Mike Frysinger Date: Tue Dec 26 20:25:18 2023 -0500 libgloss: moxie: delete unused/invalid assembly file =20 This is a .c file, not assembly, and it's a duplicate (same content) as the existing sim-lseek.c. Delete it since it's unused and doesn't actually compile. Diff: --- libgloss/moxie/sim-lseek.S | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/libgloss/moxie/sim-lseek.S b/libgloss/moxie/sim-lseek.S deleted file mode 100644 index 86fb67504..000000000 --- a/libgloss/moxie/sim-lseek.S +++ /dev/null @@ -1,31 +0,0 @@ -/* - * sim-lseek.S -- write interface for moxie simulator - *=20 - * Copyright (c) 2008 Anthony Green - * - * The authors hereby grant permission to use, copy, modify, distribute, - * and license this software and its documentation for any purpose, provid= ed - * that existing copyright notices are retained in all copies and that this - * notice is included verbatim in any distributions. No written agreement, - * license, or royalty fee is required for any of the authorized uses. - * Modifications to this software may be copyrighted by their authors - * and need not follow the licensing terms described here, provided that - * the new terms are clearly indicated on the first page of each file where - * they apply. - */ - -#include -#include - -/* - * lseek -- Since a simulated serial port is non-seekable, we return - * an error. - */ -off_t -_lseek (int fd, - off_t offset, - int whence) -{ - errno =3D ESPIPE; - return ((off_t)-1); -} \ No newline at end of file