From patchwork Sun Feb 12 11:10:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Bugaev X-Patchwork-Id: 64782 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 204AC3858428 for ; Sun, 12 Feb 2023 11:13:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 204AC3858428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676200390; bh=viRxtOIjrzVj5JGUgZwQmGe0DRmUT9GU1Kszuij/hi0=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=rZYSC/aiy3REHYi+mPplJu2yxQ5acsfsgSty64DlhDHGM2mkzNNJU/y7MUaqid5Mg h4UvCna3VPzjpY7WsViMxXckisj61APhD2jf+1dWM7m25z8wgpGzb0FWGGsc9iuPi/ 6mUrjZZYe2Pdyp75ESyq2kBYrjSmWrYEGiru+Q5M= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 677F83857438 for ; Sun, 12 Feb 2023 11:11:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 677F83857438 Received: by mail-ed1-x52d.google.com with SMTP id bt8so3612164edb.12 for ; Sun, 12 Feb 2023 03:11:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=viRxtOIjrzVj5JGUgZwQmGe0DRmUT9GU1Kszuij/hi0=; b=oeLk4Yf0zCkudL2Kq6nhFYXDZot0MfEYLpPyXmABADCoFzJfSdeHgZBl6fBq7B7WO5 +uOI6YXCHdXqth6JJ7hWzOI77Mm2+QhlWo5j6ztlJZmKE9jvJM7/Wry+++sM/ppGZZ/r Cv4bNcHnoslYnD+8MXh0UWPnMKegZSjIsQ1yK2tXyX2f8C0VcnzR2LOB/K64eluPI+4n ZOkZDBW/uUQaT8sINleluX8IjEkCcJSopzJ63cmxKAkymwbsOfRS1qn/H5bf9KlFaefC MCTXVeRxIsixqelvRUmrT6AsALkUV2j+6BVbV3h7JFbW4wEXL76IaU+C2xNMNn4El/mj G0Pw== X-Gm-Message-State: AO0yUKUubIWusrq+TsNGceAcnPFdP8Mm7+LweMlESJ2yL5E9N32XNCne FOCwa/Y9KZ1h8/ct/Kv6lW4= X-Google-Smtp-Source: AK7set+t5QvLzqNYR+bCvVyzpuBgnYFRp8xVGrpzyMdi8UBD9tDOo18yiwVTiWob5y7PKnubI+5HZw== X-Received: by 2002:a50:baea:0:b0:4ab:16a8:bc60 with SMTP id x97-20020a50baea000000b004ab16a8bc60mr14650525ede.25.1676200279082; Sun, 12 Feb 2023 03:11:19 -0800 (PST) Received: from surface-pro-6.. ([2a00:1370:818c:4a57:2186:c463:9ced:e6fe]) by smtp.gmail.com with ESMTPSA id c61-20020a509fc3000000b004acbe0b36d2sm1266910edf.6.2023.02.12.03.11.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 03:11:18 -0800 (PST) To: bug-hurd@gnu.org, libc-alpha@sourceware.org Cc: =?utf-8?q?Fl=C3=A1vio_Cruz?= , Sergey Bugaev Subject: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit Date: Sun, 12 Feb 2023 14:10:37 +0300 Message-Id: <20230212111044.610942-7-bugaevc@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230212111044.610942-1-bugaevc@gmail.com> References: <20230212111044.610942-1-bugaevc@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Sergey Bugaev via Libc-alpha From: Sergey Bugaev Reply-To: Sergey Bugaev Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" --- hurd/tioctl.defs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Sergey Bugaev diff --git a/hurd/tioctl.defs b/hurd/tioctl.defs index 905a4a38..a04f5ae4 100644 --- a/hurd/tioctl.defs +++ b/hurd/tioctl.defs @@ -34,9 +34,9 @@ import ; /* XXX */ /* These are the pieces of a struct termios as specified by the definition of _IOT_termios in . */ -type modes_t = array[4] of int; +type modes_t = array[4] of long; type ccs_t = array[20] of char; -type speeds_t = array[2] of int; +type speeds_t = array[2] of long; /* This is the arg for a struct winsize as specified by the definition of _IOT_winsize in . */