From nobody Mon Jun 12 12:22:25 2023 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 4QfrRP2MRDz4d9qy; Mon, 12 Jun 2023 12:22:25 +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 4QfrRP1tFWz3qSc; Mon, 12 Jun 2023 12:22:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686572545; 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=lRprnXM/5O8XvrIor95zYZvCP/19pqvNOrxnMDUdpLY=; b=V0W+77YOKXRq24XY+REcLmS2kcqnG748GXP6jl6HRipLrnWZ6kUDsvo2AdVQ9aS8WdpA2T dhF4J7AJAgJ5tJS4qaJYpKlfU8V7tKZ3Ie2zw1Utu4VQrCHADGGCl8v4rO0mTjGTzbhTV4 Hf9QKQSXqXw8N4SxH7hj57BFdfbpG/2VfVGo4T7GWo/qAVqKuVk/E5IPNlVOUgT6smB5HP q3RK40wUPBjKU/Y/Dy1EoBkO95l3lBgaYba8qlv6sk5vUXpeE4XbspZOGt4eCVD7e1hVso 5UtuA5AJUHyPbgdoKcrPyjZoqbGH/1Vy1GIBTTJyJ1aH/9DCcvAeui8uS9RVow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686572545; 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=lRprnXM/5O8XvrIor95zYZvCP/19pqvNOrxnMDUdpLY=; b=aNTE6fGTLieiUgcaYsDv10oyzUCEp+z6tZj7d4wtQBWWTut7r0FLrZCr0K+ap/2lgOAyrM g43U5xn+wjgtK83thuJAQG2n8psXwxRnMMksU5otvp1tzyl6hotb2Af2vtYTCR2o2iejJc 8L5KzBcgXuWwilBfup+xM9QheCrvNdjbdKeFsul0v5rMDWf0aLc3aZQsifQy4t075UvJbd YlrFnxja22R5XHotDyCY/8dMhqG7MaHhTpwH7yq5nN6waYUy4vhHLuZoFlOJqJ5iN9LZUU lL0iSocrTG5Q4yfa5u01SRH9TKIeS2BZnz0SMuoccoKfxso1l255aqKWj7kzzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686572545; a=rsa-sha256; cv=none; b=fAZkXPnQk7mt4woebnMA1yF/FrhxDTOAQtZuBr6uZnLR8+kRAcY4JAS8etO++Zv0c7G6wj qRwHi/226jG3Mw2rJOjjPmqfHfuEFRPwsI2cGMlN+8Ys8G7XFCMt4gxs5+V37CdcfjvviY rGv953d8TA2hRVtEWeius/BXYyQd5o9lkSyL7unn10sha5qMTGkai+J/58vnsGopOJfXSu usnbTcVCW+vyJ7/tN93+wDORQp4QI3KWG+dm8MNXWz8WoReC5dO3wEGC3pEBdsvZOYgxna fVctV1uSw7ytICgnVszoSCvCM6ps0WMd9htjG4ZmNWZw8dZmkFbUEZe0XsWwyA== 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 4QfrRP10RYzg2x; Mon, 12 Jun 2023 12:22:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35CCMPtj047994; Mon, 12 Jun 2023 12:22:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35CCMPqo047993; Mon, 12 Jun 2023 12:22:25 GMT (envelope-from git) Date: Mon, 12 Jun 2023 12:22:25 GMT Message-Id: <202306121222.35CCMPqo047993@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 9c5a91f96994 - stable/13 - lib/csu: Get rid of unused fptr typedef on amd64. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 9c5a91f96994139211aa9900dcf98a358869a854 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9c5a91f96994139211aa9900dcf98a358869a854 commit 9c5a91f96994139211aa9900dcf98a358869a854 Author: Gleb Popov AuthorDate: 2021-07-22 15:28:21 +0000 Commit: Konstantin Belousov CommitDate: 2023-06-12 01:51:24 +0000 lib/csu: Get rid of unused fptr typedef on amd64. (cherry picked from commit feac06569a381dd7fec92c7d490fc34ef0bbdda5) --- lib/csu/amd64/crt1_c.c | 2 -- lib/csu/i386/crt1_c.c | 6 ++---- lib/csu/riscv/crt1_c.c | 2 -- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/csu/amd64/crt1_c.c b/lib/csu/amd64/crt1_c.c index 9dbd34492023..f1c99de9ffe0 100644 --- a/lib/csu/amd64/crt1_c.c +++ b/lib/csu/amd64/crt1_c.c @@ -34,8 +34,6 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" #include "ignore_init.c" -typedef void (*fptr)(void); - #ifdef GCRT extern void _mcleanup(void); extern void monstartup(void *, void *); diff --git a/lib/csu/i386/crt1_c.c b/lib/csu/i386/crt1_c.c index 0d82cda6fa1f..b39134824f7e 100644 --- a/lib/csu/i386/crt1_c.c +++ b/lib/csu/i386/crt1_c.c @@ -34,8 +34,6 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" #include "ignore_init.c" -typedef void (*fptr)(void); - extern void _start(char *, ...); #ifdef GCRT @@ -45,11 +43,11 @@ extern int eprol; extern int etext; #endif -void _start1(fptr, int, char *[]) __dead2; +void _start1(void (*)(void), int, char *[]) __dead2; /* The entry function, C part. */ void -_start1(fptr cleanup, int argc, char *argv[]) +_start1(void (*cleanup)(void), int argc, char *argv[]) { char **env; diff --git a/lib/csu/riscv/crt1_c.c b/lib/csu/riscv/crt1_c.c index 9291d6d200df..11519e46c7f3 100644 --- a/lib/csu/riscv/crt1_c.c +++ b/lib/csu/riscv/crt1_c.c @@ -41,8 +41,6 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" #include "ignore_init.c" -typedef void (*fptr)(void); - #ifdef GCRT extern void _mcleanup(void); extern void monstartup(void *, void *);