From nobody Fri Aug 02 17:58:04 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 4WbD8D4G7Yz5S8D6; Fri, 02 Aug 2024 17:58:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WbD8D1ssXz489Q; Fri, 2 Aug 2024 17:58:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722621484; 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=iSD8RL3gYj6oHJhukntXQVdt4JlmTlThwIH2dNF/Frg=; b=tZlaNxELMb1g2GzThL5V/d1qc2K9EpSqaO8fO3Qhe5BQKcfQywuGbbzb782O8ZnJJ9d9B4 Iai9/9C6HG9lj0utgHRSMkHjUWpNPz3gL4VMs4FKAE7oz8d7t5AwZYYs/8IMqPIWgs13GT DdfTou1+uZljRobMFAL6v7fUN7340xXRUbrI9J1MxKtjR3vdAas+EVGN2OM0tvNHzHKWTx fcGFExIqi7R5+xf6lK2zFIdfxijm72wXCwV6QYT5WKjYYCyEfWDvf69oPw8CnCooraOL/Y 1jRqh0ISoXwO4skuRUfk+dZhoQIlxcX/E/TnZIcs7R4a1V0FeflmPX1xWntDWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722621484; a=rsa-sha256; cv=none; b=W3qhFWWGCeW0KYOmF3nYN9xaGub24OSwuok4j/cgr40B0YAIul1Kohzsi5iZD+BOpza771 kTAq+a1XJyQcZuY568QYwM0iP69Yxobx/TdOK+SaYcGXKLI4eKtGH/Z0TBu6JvRt2m20zv VtD33kV1JH6oHeoEbAxVYxJBKyEEYldhH9wzZlqp0AVijlrV5IQSwOvscBPvM7hPusP/R+ Q/uiHlLB7t4cJo4QPRIDPMx9ea44RGJtJigY3ah+Bd77XkVZSR1iAXKWNeoCRZxI5l8JuL XySpeoej2AgM8HhPO5tJEp9T2ZLfNGh//vP/DgOCwAJ0wFkEP2h7V3PizNI1DQ== 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=1722621484; 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=iSD8RL3gYj6oHJhukntXQVdt4JlmTlThwIH2dNF/Frg=; b=VRp7sVK1fEN9gbFbdOqb36a4Y/A1mLSo7hUoQIcxpdCXi1Dx5HyI7O6+8oFE3LBmHgcZYI m323yhHYwOLnGtqEMOV93HK36O+7GHD29W0G8gjl5q/SdC7ePsm6fwjSg5P+pwuaIjVyoh xBsjttScf1MTZqB7al7lMv6W+KBMQ2S4I1OsNIq4c+snXR+cV4qwAu+7J1s+IOUHd+U3Dn c5WJ6TAiudRxgnCEf/S19XZk0jQ1oQDAqCeXO+5eUULyb2fEK8cgcIsEPExo5+WCeA/5Eg us6jlJ/u2XM7TLOHCqxWAJJl7HPavERLRNLCiSxbmYKY3pFslJtGK9Uud0qCEw== 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 4WbD8D1M7Hzd3R; Fri, 2 Aug 2024 17:58:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 472Hw4JJ007195; Fri, 2 Aug 2024 17:58:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 472Hw4Ix007192; Fri, 2 Aug 2024 17:58:04 GMT (envelope-from git) Date: Fri, 2 Aug 2024 17:58:04 GMT Message-Id: <202408021758.472Hw4Ix007192@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: e5d6af4fe754 - main - sysv ipc: remove {msg,sem,shm}sys() declerations 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e5d6af4fe754dfec6ddc6802b3bbc2dae84d733a Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=e5d6af4fe754dfec6ddc6802b3bbc2dae84d733a commit e5d6af4fe754dfec6ddc6802b3bbc2dae84d733a Author: Brooks Davis AuthorDate: 2024-08-02 17:22:43 +0000 Commit: Brooks Davis CommitDate: 2024-08-02 17:57:16 +0000 sysv ipc: remove {msg,sem,shm}sys() declerations These syscall muxes are under COMPAT7 or earlier and AFACT they were only ever used in libc. The which arguments seems to have never had a published API and it was a mistake that they were exported or declared. Reviewed by: kib, jhb Differential Revision: https://reviews.freebsd.org/D46209 --- sys/sys/msg.h | 3 --- sys/sys/sem.h | 3 --- sys/sys/shm.h | 3 --- 3 files changed, 9 deletions(-) diff --git a/sys/sys/msg.h b/sys/sys/msg.h index d8c950e66c47..a880c538ddc1 100644 --- a/sys/sys/msg.h +++ b/sys/sys/msg.h @@ -162,9 +162,6 @@ int msgctl(int, int, struct msqid_ds *); int msgget(key_t, int); ssize_t msgrcv(int, void *, size_t, long, int); int msgsnd(int, const void *, size_t, int); -#if __BSD_VISIBLE -int msgsys(int, ...); -#endif __END_DECLS #endif /* !_KERNEL */ diff --git a/sys/sys/sem.h b/sys/sys/sem.h index 5634f4b0cfcc..ebb287d6642f 100644 --- a/sys/sys/sem.h +++ b/sys/sys/sem.h @@ -148,9 +148,6 @@ int kern_get_sema(struct thread *td, struct semid_kernel **res, #else /* !_KERNEL */ __BEGIN_DECLS -#if __BSD_VISIBLE -int semsys(int, ...); -#endif int semctl(int, int, int, ...); int semget(key_t, int, int); int semop(int, struct sembuf *, size_t); diff --git a/sys/sys/shm.h b/sys/sys/shm.h index a1aa6ca54c60..d80de811ef7d 100644 --- a/sys/sys/shm.h +++ b/sys/sys/shm.h @@ -171,9 +171,6 @@ typedef __size_t size_t; #endif __BEGIN_DECLS -#if __BSD_VISIBLE -int shmsys(int, ...); -#endif void *shmat(int, const void *, int); int shmget(key_t, size_t, int); int shmctl(int, int, struct shmid_ds *);