Date: Fri, 2 Aug 2024 17:58:04 GMT From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e5d6af4fe754 - main - sysv ipc: remove {msg,sem,shm}sys() declerations Message-ID: <202408021758.472Hw4Ix007192@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=e5d6af4fe754dfec6ddc6802b3bbc2dae84d733a commit e5d6af4fe754dfec6ddc6802b3bbc2dae84d733a Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-08-02 17:22:43 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> 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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408021758.472Hw4Ix007192>