From nobody Sat Feb 24 04:52:08 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 4ThZHF5JGJz5C0RB; Sat, 24 Feb 2024 04:52:09 +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 4ThZHD6rJdz4tkJ; Sat, 24 Feb 2024 04:52:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708750329; 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=0z7Yg0Popd5tgsK/+TPKqNwjHbMW34nSlKG1P+vwmlE=; b=Oc0RNHgsFdEBVJPY3FPUr+qA9hZ4ruZCLc9AjhMZ668b79WD7y48OXyOifI4+qlvILlmCn hQMeY4sitY0yB87PVnOEBQHIFa/xd6q6JgjzZQUyi9qXNXRP73goOhEdZTtwiG5QJi7D+h s58UuDtS60tCW2Y3AHmNuonhiEfwxXYoaCP8c4loyyZrxG/G1rEcLerIGhWQYLb4P7R5Zv r7/QfS/8AP3cy4H+z36EGvL+CL+8Wjoj9vImGlejRWGYcd9SYUpFMlcWAYyHPWBX1dsbl0 29LAQ8GheW5wcgz8nk1mpw/5Tz5GvCbW7yjez/LmZKfXAj3dz3DeJcHmLHn4dQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708750329; a=rsa-sha256; cv=none; b=RL6NLReIfI8PdJuDRy94qVW+ff0QN8Y33FxNh0dm2i0g5m17ogBZKf1fmO8qUU+bFvu8+1 Ul7w2YI1TIhbhudXDx3yGolqkZTIxY5O6NAkYiryDH2AEQg+DHWFYDnRtvSuopikZBMoKW dL9abp1Zj/d3eeVxgR7cl96jZPsNRdKPYVFprQ5Z5Ar95eNBSS5DiMzuhP9MLOuJDk5b53 dj6e3MsmvMHKart+6q20sT9O5t2CwKJLltcTxGhe8zwDCFrn5gG2J/3Ui16ux+RPhxlqkV MwW9VLFaB+KqQhX9zvKMBi2U2M1aScenn3siIm6/oWBddO9kSplnfiYBQy9MHg== 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=1708750329; 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=0z7Yg0Popd5tgsK/+TPKqNwjHbMW34nSlKG1P+vwmlE=; b=IODs4sCO+ulVfgc0z10r5xcEMakyTnpcrNSzKEyeM+Sae/Be6Wui7JZkMYYCH/a5UsVzHu zzF6gMxxrQezQ6QhF32EpuXnYsIOtu1FXZO9TXXAdroDhAXXWfx/QydR9A+nViXC9+7J7I KrXy/a3W4aynhTma7RDA04DQJ4phWPhUQ4ZkHlQSRZBqoBw+sYqoBiTCGeyxcNS2ZRT26o 6FlsbNG02bgVV65I5LchLztWEhIFsIfPG4qppS3MWRl8cqPBtwVKeO+P55QL6Vas9y3r/S Hrnjej1FZB0vuuikW7cO+6sKEk8m0N+g+rhFCSMkswO8GF+y01j7IoKFCek14w== 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 4ThZHD5vbJzmPV; Sat, 24 Feb 2024 04:52:08 +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 41O4q8Zm031289; Sat, 24 Feb 2024 04:52:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41O4q8NY031286; Sat, 24 Feb 2024 04:52:08 GMT (envelope-from git) Date: Sat, 24 Feb 2024 04:52:08 GMT Message-Id: <202402240452.41O4q8NY031286@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: 6faf55c86d9b - main - loader: rename gfx_interp_md to gfx_interp_ref 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: 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: 6faf55c86d9b86f40de8d19970e42cb42a892c47 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=6faf55c86d9b86f40de8d19970e42cb42a892c47 commit 6faf55c86d9b86f40de8d19970e42cb42a892c47 Author: Warner Losh AuthorDate: 2024-02-24 04:22:08 +0000 Commit: Warner Losh CommitDate: 2024-02-24 04:22:08 +0000 loader: rename gfx_interp_md to gfx_interp_ref We have the call to gfx_interp_ref to bring in the .o so that we get the linker set item to add the language bindings at the right time. Where we call it is not the right time... So the _ref name is better. Change it before we have too many others like it. Sponsored by: Netflix --- stand/common/gfx_fb.c | 2 +- stand/common/gfx_fb.h | 2 +- stand/common/interp_simple.c | 2 +- stand/ficl/gfx_loader.c | 2 +- stand/liblua/gfx_utils.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stand/common/gfx_fb.c b/stand/common/gfx_fb.c index 3a5b851915e0..0a88a166089b 100644 --- a/stand/common/gfx_fb.c +++ b/stand/common/gfx_fb.c @@ -181,7 +181,7 @@ gfx_framework_init(void) * Setup font list to have builtin font. */ (void) insert_font(NULL, FONT_BUILTIN); - gfx_interp_md(); /* Draw in the gfx interpreter for this thing */ + gfx_interp_ref(); /* Draw in the gfx interpreter for this thing */ } static uint8_t * diff --git a/stand/common/gfx_fb.h b/stand/common/gfx_fb.h index 84062864c57f..17e419d8ffd3 100644 --- a/stand/common/gfx_fb.h +++ b/stand/common/gfx_fb.h @@ -281,7 +281,7 @@ void term_image_display(teken_gfx_t *, const teken_rect_t *); void reset_font_flags(void); -void gfx_interp_md(void); +void gfx_interp_ref(void); #ifdef __cplusplus } diff --git a/stand/common/interp_simple.c b/stand/common/interp_simple.c index d64c0d27b97f..d675da0aa61e 100644 --- a/stand/common/interp_simple.c +++ b/stand/common/interp_simple.c @@ -202,6 +202,6 @@ interp_include(const char *filename) * There's no graphics commands for the simple interpreter. */ void -gfx_interp_md(void) +gfx_interp_ref(void) { } diff --git a/stand/ficl/gfx_loader.c b/stand/ficl/gfx_loader.c index a4501a7d3c39..4ac69e3c9895 100644 --- a/stand/ficl/gfx_loader.c +++ b/stand/ficl/gfx_loader.c @@ -254,6 +254,6 @@ static void ficlCompileGfx(FICL_SYSTEM *pSys) FICL_COMPILE_SET(ficlCompileGfx); void -gfx_interp_md(void) +gfx_interp_ref(void) { } diff --git a/stand/liblua/gfx_utils.c b/stand/liblua/gfx_utils.c index 8d2aaacbd688..301cd9cb8610 100644 --- a/stand/liblua/gfx_utils.c +++ b/stand/liblua/gfx_utils.c @@ -242,7 +242,7 @@ luaopen_gfx(lua_State *L) } void -gfx_interp_md(void) +gfx_interp_ref(void) { }