From nobody Mon May 20 04:08:40 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 4VjPFN6jwfz5LhC6; Mon, 20 May 2024 04:08:40 +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 4VjPFN4p2Wz4D7X; Mon, 20 May 2024 04:08:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716178120; 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=W7Lt6AW6XxvT24Q38criV+t5CgRusaufBPoZASvhV+g=; b=p3HvNaEEH8y+LV04LqpqCgkKVr7NYSrPuPuES3XXpG6Glnz30XxOmILZ48s4aoxH+3jlBd N1oQGb2ZQKUKyg3iSkBV1yPmec32Ogc5eEiCIJ5+73YL3vMluuxwBAo7qY7LQ8nhBTWZYs n48mTUJkgtJUjb/toTKwaAhZMMNVHAdRCwNVuAfZ+LdRpnKaCQGX1K944PF+HaTW6qSmLs 0kUKte1PnIcCj70D68UKVsMeFz1d2h/rB5SkwbvIeaKMcZ6Bkyxik0CZJSTSc9IMj1PXhX IFoq/+pvsA52y0G0hJK6AicOFFUSxb6BTBOBrSrFlJoJ92DOIL+4ZlGfkz9KXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716178120; a=rsa-sha256; cv=none; b=h5RdWKe4kmEfPGwZx8XjUVTZBjbfp6Mmsd6WlxYRHZYMFvGpsSqaSqvU/gzDS9zTDmTLSn mfdpo62TOqpKsoadp32TQel5SZZZcuA9gPUK27bhtSaiw6euue0g3YOm95V4KZoF4tb3rP pu1EjxGJoh9+MFhITJCdrlG9ODcpJBQNCB62SOzaGeJmWX+UMsO3/duy0LIufGhKwDqwZ9 hcFF6eo2WY77Cdi9yAy+5zE2IU0xnKcFhb9ACLVAwDUZ5jCBjqLo0bprmxesQl8l4QpHXn eybdDWZq36uNVD1E6/jBVoVugJVogr/h1u/ys/rN74pInMEQa7wVW8M7bCoKYQ== 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=1716178120; 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=W7Lt6AW6XxvT24Q38criV+t5CgRusaufBPoZASvhV+g=; b=kEmGAw2W6VNx+oH7d27bvq0JV52bao/Yv7pD5iCg2yRYWygNdl67wv+4AI3LdeHJZWhcLX aEIf3OwPS82+tKPkiFKzQMVIRzuWFBTHghVDI7yU5B3GRAjEaU2mrM62D0CKBmVlXWofz6 BuJlfAhn1X3mdayeZC/Z6/JYderv7aSNJgHpfnykckOTL2U5IA55MkPr3vMZkZa/EPZrML ihypENHh6Zy8gofZLx1sbH9Me5Y0DRs71Y4fFXkDoXC3UFmUvCGhg5eEmxupNSHKwKPSWR OWAk2uPA3GxBOnXPMiod7UkqbPSc84mW9UD3935nmxkL0IYuL/SyXn1wixcT8Q== 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 4VjPFN4NVCzNQB; Mon, 20 May 2024 04:08:40 +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 44K48eTJ081330; Mon, 20 May 2024 04:08:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44K48evY081327; Mon, 20 May 2024 04:08:40 GMT (envelope-from git) Date: Mon, 20 May 2024 04:08:40 GMT Message-Id: <202405200408.44K48evY081327@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: 5e7b0cd93a95 - main - i386/nullconsole: Use C99 initializers 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: 5e7b0cd93a950033b1ab69f21a030ae39efc64f4 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=5e7b0cd93a950033b1ab69f21a030ae39efc64f4 commit 5e7b0cd93a950033b1ab69f21a030ae39efc64f4 Author: Warner Losh AuthorDate: 2024-05-19 20:55:09 +0000 Commit: Warner Losh CommitDate: 2024-05-20 04:05:41 +0000 i386/nullconsole: Use C99 initializers Sponsored by: Netflix --- stand/i386/libi386/nullconsole.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/stand/i386/libi386/nullconsole.c b/stand/i386/libi386/nullconsole.c index b4ffd3e30789..1cd6cd096f27 100644 --- a/stand/i386/libi386/nullconsole.c +++ b/stand/i386/libi386/nullconsole.c @@ -45,14 +45,13 @@ static int nullc_getchar(void); static int nullc_ischar(void); struct console nullconsole = { - "nullconsole", - "null port", - 0, - nullc_probe, - nullc_init, - nullc_putchar, - nullc_getchar, - nullc_ischar + .c_name = "nullconsole", + .c_desc = "null port", + .c_probe = nullc_probe, + .c_init = nullc_init, + .c_out = nullc_putchar, + .c_in = nullc_getchar, + .c_ready = nullc_ischar }; static void