From nobody Mon May 20 04:08:38 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VjPFL4Vpgz5LhC3; Mon, 20 May 2024 04:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VjPFL2sMXz4Cpm; Mon, 20 May 2024 04:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716178118; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IB75wKn5wCg8i8ZcuRvahzM3svpEnCt89MPNYRtBmgQ=; b=kGE/dyGFtM5VKY1WOdsqkOflYv0VDMhZ16CabXcG2v6m/qXWEUmjwT7NM+8/NnjLrMwjGh KHBJs2xSC7zAyO1JbAf4EK6OKXKlA3bhXHWou0tFTAnJVNznnYbjBD6uJUBqGx2AqAE4wU owL9BNqUA0+/cH+HhQrccQ13kyt7JlNCWPfpEUEnCxBGjbKCih2MLKBYouRfz9xBho/kBV ewRsyMjaZCf/6PfcephTBrJELeCtkvkXFaOyCA+HaQlbVU12rU0a6Xu5T2QfqqnhOF3vS6 DM5N+eDCpwfH2j5wF76yVk5YzVcadujVZdDC/pEaBd4Uf3e/D3+fJovEmRCH5g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716178118; a=rsa-sha256; cv=none; b=A1J6f1YaOFuZizFl/Akr6s0kbfUeDTXXwfFnclITDFVxFt3DSVJmaf/BWnM3XkMnt8d5Fy hmEdDO1nrr4S7XneKrq9WM3A0F1HdgA0qeDZzAyfGYd9LYTNbMwnuuXDKtylz5B7jWup68 ouZjpuJOI7FrvMqjdMyI4gYbyyzo8xiwpSLG7eGSAXZV7jii7PBh9Qh63dwM+eGLQyZErg zW8eHFCLdqSz6965zpSa2n/Ms+MaauVihmEDz0VMUj23/KTllL7ik2JcfyQivm2DZI02Hf bxf+ZiHOlFmRat5/Pjf7hHblHJmpgpadQij315vyjTlQFdpqM550ioRFJmFtbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716178118; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IB75wKn5wCg8i8ZcuRvahzM3svpEnCt89MPNYRtBmgQ=; b=wZ1Prii6ZAo0YJC5Q6MBuWdQSNv7Z1LwA3kggnDiJivx/2A/SEbAeIgg/p6wS5JkywX0wk 6wGmtFdU09XMZE872ry7gf/S2+T5m8SrXfj8YZg/cHw91inreHnJXM70dBplwhZi9uKM0h 6I52Ex9xV3Ig8NuAmvJUAFUDSTR0vtAlafQZa6dPGcjkWthFw/gDTcELtowiEpPIuAWwSO PDA5+mlZHhUqd4TOOjQ1Y9aLkFhp3geXMpy5ZxzSNS6e+rYZ6XSD/DBY2WvJqNJtCn9wQA 2LaEPln7XorNoMWvyekAprFIBNaQxUBTBcrBSKLoL4BQXIBnfv9XKSCRQMZAhQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VjPFL2Rt4zNDd; Mon, 20 May 2024 04:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44K48cVK081245; Mon, 20 May 2024 04:08:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44K48cix081242; Mon, 20 May 2024 04:08:38 GMT (envelope-from git) Date: Mon, 20 May 2024 04:08:38 GMT Message-Id: <202405200408.44K48cix081242@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: a578e2b896d9 - main - boot/i386: Use C99 initializer for textvidc List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a578e2b896d9e6803a830c99fb486fa60ceac33f Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a578e2b896d9e6803a830c99fb486fa60ceac33f commit a578e2b896d9e6803a830c99fb486fa60ceac33f Author: Warner Losh AuthorDate: 2024-05-19 20:49:02 +0000 Commit: Warner Losh CommitDate: 2024-05-20 04:05:41 +0000 boot/i386: Use C99 initializer for textvidc Sponsored by: Netflix --- stand/i386/libi386/textvidc.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/stand/i386/libi386/textvidc.c b/stand/i386/libi386/textvidc.c index 4b79f9fc66b3..75d498930119 100644 --- a/stand/i386/libi386/textvidc.c +++ b/stand/i386/libi386/textvidc.c @@ -70,14 +70,13 @@ static int esc; struct console textvidc = { - "vidconsole", - "internal video/keyboard", - 0, - vidc_probe, - vidc_init, - vidc_putchar, - vidc_getchar, - vidc_ischar + .c_name = "vidconsole", + .c_desc = "internal video/keyboard", + .c_probe = vidc_probe, + .c_init = vidc_init, + .c_out = vidc_putchar, + .c_in = vidc_getchar, + .c_ready = vidc_ischar }; static void