From nobody Tue Apr 16 20:13:12 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 4VJwG13G9dz5H0Y7; Tue, 16 Apr 2024 20:13:13 +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 4VJwG114yfz4tlZ; Tue, 16 Apr 2024 20:13:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713298393; 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=8HNScYlRtGhaGUdy8vjsud3PkqlyNUv4k25Xfy7Vb9A=; b=VlLbzY7F7kRNsDN6NTcTRx3FsLh5Nx2J92RC86PNiGpFGT11fyt0UttG22z5+xv/DyQ/4q 48WXbxoSXWL+E06PmqrTvsDOQZladsj2FcBsAydecXAOUpWzq7305nOaLSXrwJ8OmhUOB4 GCV62yVzQNaZDmtG2Izo7jIEtTltThzRgzQr4g/kvwKb2dokvfpLPc/svWPtDlyxN2phCE XqG3JKssuE4vKGfUn2/8ca7cXCDOKFgyPhtn7UHWNawwoeMb/okUSEO6bjS+EEZokh+BwF pN3RoSVKU3g+0IaIxPSTFLMjynuah3mPRC8OrWm/WKT7OjSJrrbN3nui//Zy2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713298393; a=rsa-sha256; cv=none; b=Cr6P5nURsJi3+q8jR9953jp9BC4XsP0K7BZJKXWgLSbJGKbHBhoOW3BH7RsadkMBtn7xhv X5Q/cXM9kF/ZpFrJiQ5yZI60yf4+LNpJWkzP5SkjylEgSGiHEcltwWWEhxd+IhOfXDH5t+ EBwWimPvCnkiyvdtpsMTFBiMpm+2nRh4nPncTbJXblIe7NomnaVMIgEV9wGgJGba5AL10+ S5B8ma0kaZ5f8hVfb+Wi66HHxav0HGaDdEhiKgw64NPtubGWpcoXifuY9MwACqvyGG9yPp dm4JlcXx60NiYjQUlY/SD0IbBpAetIyRtiRx71S/NZaMXGMiYo+D43z0StQ8eg== 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=1713298393; 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=8HNScYlRtGhaGUdy8vjsud3PkqlyNUv4k25Xfy7Vb9A=; b=wYboyOSrr25QygjsiYN+Qm5sxufFRpjHJp5vEd+4vzSTR3OO4uSfPhuNdXwh7bytqqAdD0 AHOT+63VRJcynuvwhy/qegPTbgXZqwpGEUVGmLtd8enc7F0cmk1njD6/sxELK/Pk+uEQE/ Zs7WkEc6iTxXlNa1Fz9MjjD0ZifO+Mv4CX3h9nd2tmje5dO7LUx34aFTutgEgM8yKB8MZM lTO8dW1ULJSYiKx7g5tBdSkz2KTwERTeFQOuluvRFK/1HDZi7Eo/MsILjZY8e4ASXvD/YR +Ee57egXUWsGFXcHrA6FTe/PRLrtRFrgG/TqrKyfQCxvHkY5Qb/a+4P+hcVzjw== 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 4VJwG10XBxzxJW; Tue, 16 Apr 2024 20:13:13 +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 43GKDCqg039017; Tue, 16 Apr 2024 20:13:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43GKDCgD039014; Tue, 16 Apr 2024 20:13:12 GMT (envelope-from git) Date: Tue, 16 Apr 2024 20:13:12 GMT Message-Id: <202404162013.43GKDCgD039014@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 204a5c85ab2a - stable/14 - loader: rename gfx_interp_md to gfx_interp_ref 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 204a5c85ab2af888ed852dedc9b4c9aae93dfd13 Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=204a5c85ab2af888ed852dedc9b4c9aae93dfd13 commit 204a5c85ab2af888ed852dedc9b4c9aae93dfd13 Author: Warner Losh AuthorDate: 2024-02-24 04:22:08 +0000 Commit: Warner Losh CommitDate: 2024-04-16 19:54:27 +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 (cherry picked from commit 6faf55c86d9b86f40de8d19970e42cb42a892c47) --- 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) { }