From nobody Mon May 20 04:08:41 2024 X-Original-To: dev-commits-src-main@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 4VjPFP6cfXz5Lh8Z; Mon, 20 May 2024 04:08:41 +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 4VjPFP5Ggxz4D51; Mon, 20 May 2024 04:08:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716178121; 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=1YI9fhQR6/qyQBLhqWbT56TIMxcI7JL0xYNeNguy9u8=; b=CtKLKDXOrRVgejzubvysMg5amtHfGQCo+36T/6EB6w5Zsy0Sq6Gq6rEPDNTTLpOLXZALvW pAXxDi8d/oseaFNiX6Z8iwCg+cWjE6ldLQ1wnQZfxzMdbsY05BEAflpRQ4UXFgZ2VAuBpa YtH4Z/iN0AHu6dpbl4BSZXlxzhMtmUziNU621oOItuRWU5gfAm9hi+RJtvCosgX2ijHjZj RdecpfdAiwl/1mkYxXIupY8tPY9PnZM26+xBxZ7MIA2OVAozKcP8o8leatV7E8ZXl9uoio kmqQYHQhUJTfoaXjdsZf6nV9Xe5VldBkGRmz9DEBd0HICe4IBEG8NDo0Bx4lhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716178121; a=rsa-sha256; cv=none; b=Wlj2K7+uXVdSYRz9LfNKvBBybTilH+Aq2ZHK248DHUH9yJFxEUcMBfT3l99hz7TrX5ZkyH KNTiw3NPwy9XWXcVVLSctzX97jVLTh9VQcRkjepZbv7krqvC29MtYcGuhvomy4EoqCgM+Y VqU9Z5mpWESoeHTJEV9kzvF2jbY0du6UJ0ofqS9eKx/euqm7EVWT2hnMQOtuBHVlSYnpW1 yr4Pdv7uNXA3wHfRdY6Z2qGGqsTigbPWwrti/PghdRwlvMVoxa6++LSHfCuc/6W2yCYla2 /drk/p0s99QJ8M0OWX7ef0xYDtv9dmsYJcaroOBc4Tgax+f4l1RszPjcXXB/Ww== 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=1716178121; 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=1YI9fhQR6/qyQBLhqWbT56TIMxcI7JL0xYNeNguy9u8=; b=tifIQ9rOqH0bYegdMS6aJDUigIXedHtk3y2fZ7QMAtEE7rpb4qPF/L28acrlTwps9Ugfp6 h3qjLAe62ObmRvhmomr1GNvN8BBGzCjSuP4/cFVfQjG2bQIQB3cK33XEVN8nmpFzkWhOh/ N/4JcG9hW0SkhPWN4JrWgvUc/+aro/TFFuSRdAIOGZzQs1+DJZG7KRolKwfpXJErXF3+QG OqOBXm6A1LhRFcO0MFhRJfK6wJgWlvFovAhY1hHnXXf7iCHuKcpWsmr4IlkykF58J/eyNI e4BG3Heuuav9/O/8n1DMri6KKiFwD7k2M+kFNQzVKZrNTJ8rK0SbmLHNP5AUQQ== 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 4VjPFP4vDgzNMl; Mon, 20 May 2024 04:08:41 +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 44K48fXn081370; Mon, 20 May 2024 04:08:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44K48fVX081367; Mon, 20 May 2024 04:08:41 GMT (envelope-from git) Date: Mon, 20 May 2024 04:08:41 GMT Message-Id: <202405200408.44K48fVX081367@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: b3551da9cd3d - main - efi_console: Use c99 initializers List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: b3551da9cd3dacbc7242c3be6fefe234784645fe Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=b3551da9cd3dacbc7242c3be6fefe234784645fe commit b3551da9cd3dacbc7242c3be6fefe234784645fe Author: Warner Losh AuthorDate: 2024-05-19 20:57:16 +0000 Commit: Warner Losh CommitDate: 2024-05-20 04:05:42 +0000 efi_console: Use c99 initializers Sponsored by: Netflix --- stand/efi/libefi/efi_console.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/stand/efi/libefi/efi_console.c b/stand/efi/libefi/efi_console.c index 4a3219ef3017..2e28cf1ec460 100644 --- a/stand/efi/libefi/efi_console.c +++ b/stand/efi/libefi/efi_console.c @@ -126,14 +126,14 @@ int efi_cons_poll(void); static void cons_draw_frame(teken_attr_t *); struct console efi_console = { - "efi", - "EFI console", - C_WIDEOUT, - efi_cons_probe, - efi_cons_init, - efi_cons_putchar, - efi_cons_getchar, - efi_cons_poll + .c_name = "efi", + .c_desc = "EFI console", + .c_flags = C_WIDEOUT, + .c_probe = efi_cons_probe, + .c_init = efi_cons_init, + .c_out = efi_cons_putchar, + .c_in = efi_cons_getchar, + .c_ready = efi_cons_poll }; /*