From nobody Wed Mar 13 16:54:49 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 4TvxSn6Hvgz5DG2j; Wed, 13 Mar 2024 16:54:49 +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 4TvxSn5l2Qz4HXQ; Wed, 13 Mar 2024 16:54:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710348889; 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=Ks3Pop3yk6YynKZRkaNjPR2pucQZ0zq3ngzqFu9HrGk=; b=lL2qwdJikkGY/boOn4bZsAVZfj8OJD1sQ2MRsLJvJ0RYHwBIzFNyaNXnZE/vj77PRUunwa wNyeK1jckR1pp/i9IQxWU2IGw0nN21J+7FdDsqJP4cjlHVq4Ka92REkbnBfeqzaVJr212q BnoK823v+fBKq9Tv3dxZlCn1wGr8uLZetsCQ0Lfl08c4uqB6+NtuzSiXUNkq9Rzmbha5tp DXBICWr8U0zHsG2Qf5gt+V0thWPj86DDaimdgeaA6oophZlGGpfJS6oz65GqmlZgPOthRj ink7FR1mu5u9qfg3wbTUmdxq+w0cM5EBudA4OA9CHYQ6AFPTo3fsGROYkuLFfQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710348889; a=rsa-sha256; cv=none; b=xln/jcjQaTdKJ5XucijhiUmKW+Kb0gcj/5L6gozdIaFUDx+LjqYnD7N+wnnqwy2BD667mI wAfErnUDOq03hjBH5bw/xeDAHWtRE5wET0+7F5XXhfXrAEht8jGwBkQfi/BxY95+9LS9tZ wdIRN7yGk25+fjDxmCtL02diskUO3JCzTDj7xGQ/GPcDpBXOOVxUm3szSFmOOqDYqbt7+P 2gnIiMnipvAPA4fpx8NPW66PTtTY26g3j61J2D1EV9ym4vyGTM2ms/GopmtqL+Hd7fA/7E wbDTcRUXlgtEP9GxXVmPUPTC8UJZG9dahRxY+UIm4+SlBz3Ni9ZO6v+1YFF59w== 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=1710348889; 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=Ks3Pop3yk6YynKZRkaNjPR2pucQZ0zq3ngzqFu9HrGk=; b=KGIK2chpBaps9tAtf+C6GdotGvz3mfsyVJ34R0A6GsorVhnrNbjg1GuF8xKlxgwC7BiW00 WNaI1HCemEm/byYNLyOsMqJ0AoJN/AtobXOdkGHRjg+UnP/1HLYWvb6Ad2PYucHpOlHakI yeeRezZUw6N15chceBpSvdjMoQrEdsz+7z7ceRybiDlsPDf8iflTwVOMGk+Az4YeD/e2N1 WO+WDPNhbntW8xyvZnug6GEJBbb2Qk29cxoEjvF0Tg90NSMVg+oeF5cx/xEo8w3U/mjvGv MPh2ulQxwY2K8V/UJYPvfyxDyBtVP4fyBByFFJKMhpTQdxS4ffbyAVnzK9ihMA== 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 4TvxSn5LZKzqTb; Wed, 13 Mar 2024 16:54:49 +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 42DGsn5e032472; Wed, 13 Mar 2024 16:54:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42DGsnT9032469; Wed, 13 Mar 2024 16:54:49 GMT (envelope-from git) Date: Wed, 13 Mar 2024 16:54:49 GMT Message-Id: <202403131654.42DGsnT9032469@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: a3a4bea49c31 - main - libc: remove remnants of __fcntl_compat 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a3a4bea49c31f880dc50b51bbadc0c0a444d5183 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=a3a4bea49c31f880dc50b51bbadc0c0a444d5183 commit a3a4bea49c31f880dc50b51bbadc0c0a444d5183 Author: Brooks Davis AuthorDate: 2024-03-13 16:52:49 +0000 Commit: Brooks Davis CommitDate: 2024-03-13 16:52:49 +0000 libc: remove remnants of __fcntl_compat Reviewed by: kib Fixes: 60b2e2d3ee82 libc: stop exposing __fcntl_compat Differential Revision: https://reviews.freebsd.org/D44326 --- lib/libc/include/compat.h | 2 -- lib/libc/include/libc_private.h | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/libc/include/compat.h b/lib/libc/include/compat.h index fe940701e356..70fb8dcd97f3 100644 --- a/lib/libc/include/compat.h +++ b/lib/libc/include/compat.h @@ -74,8 +74,6 @@ __sym_compat(swapoff, freebsd13_swapoff, FBSD_1.0); #define __weak_reference(sym,alias) \ .weak alias;.equ alias,sym -__weak_reference(__sys_fcntl, __fcntl_compat) - #undef __weak_reference #endif /* __LIBC_COMPAT_H__ */ diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index b2284d2df5c6..7b5b987c22a3 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -418,7 +418,6 @@ int __libc_sigwait(const __sigset_t * __restrict, int * restrict sig); int __libc_system(const char *); int __libc_tcdrain(int); -int __fcntl_compat(int fd, int cmd, ...); int __sys_futimens(int fd, const struct timespec *times) __hidden; int __sys_utimensat(int fd, const char *path,