From 5d90c77abd2d7447f16f88ac9ea9e0485eac9f73 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 4 Jul 2023 11:14:00 +0000 Subject: [PATCH] remove prototypes for removed functions --- sys/sys/mount.h | 3 +-- sys/sys/proc.h | 4 +--- sys/sys/sysctl.h | 5 +---- sys/sys/tty.h | 3 +-- 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 40c12e97602..ec77c1b7094 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.h,v 1.148 2021/04/06 14:17:35 kn Exp $ */ +/* $OpenBSD: mount.h,v 1.149 2023/07/04 11:14:00 jsg Exp $ */ /* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */ /* @@ -604,7 +604,6 @@ extern TAILQ_HEAD(mntlist, mount) mountlist; int vfs_stall(struct proc *, int); void vfs_stall_barrier(void); -struct mount *getvfs(fsid_t *); /* return vfs given fsid */ /* process mount export info */ int vfs_export(struct mount *, struct netexport *, struct export_args *); /* lookup host in fs export list */ diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 7594beb7bb4..aa814945573 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.h,v 1.342 2023/06/28 08:23:25 claudio Exp $ */ +/* $OpenBSD: proc.h,v 1.343 2023/07/04 11:14:00 jsg Exp $ */ /* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */ /*- @@ -547,8 +547,6 @@ void unsleep(struct proc *); void reaper(void *); __dead void exit1(struct proc *, int, int, int); void exit2(struct proc *); -int dowait4(struct proc *, pid_t, int *, int, struct rusage *, - register_t *); void cpu_fork(struct proc *_curp, struct proc *_child, void *_stack, void *_tcb, void (*_func)(void *), void *_arg); void cpu_exit(struct proc *); diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 083b2ae2121..9060932667d 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.h,v 1.233 2023/05/17 22:12:51 kettenis Exp $ */ +/* $OpenBSD: sysctl.h,v 1.234 2023/07/04 11:14:00 jsg Exp $ */ /* $NetBSD: sysctl.h,v 1.16 1996/04/09 20:55:36 cgd Exp $ */ /* @@ -1077,7 +1077,6 @@ struct walkarg; int sysctl_dumpentry(struct rtentry *, void *, unsigned int); int sysctl_rtable(int *, u_int, void *, size_t *, void *, size_t); int sysctl_clockrate(char *, size_t *, void *); -int sysctl_vnode(char *, size_t *, struct proc *); #if defined(GPROF) || defined(DDBPROF) int sysctl_doprof(int *, u_int, void *, size_t *, void *, size_t); #endif @@ -1091,8 +1090,6 @@ int hw_sysctl(int *, u_int, void *, size_t *, void *, size_t, int debug_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *); #endif -int vm_sysctl(int *, u_int, void *, size_t *, void *, size_t, - struct proc *); int fs_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *); int fs_posix_sysctl(int *, u_int, void *, size_t *, void *, size_t, diff --git a/sys/sys/tty.h b/sys/sys/tty.h index 0841e6497a2..f1fbcb3726b 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.h,v 1.41 2022/07/02 08:50:42 visa Exp $ */ +/* $OpenBSD: tty.h,v 1.42 2023/07/04 11:14:00 jsg Exp $ */ /* $NetBSD: tty.h,v 1.30.4.1 1996/06/02 09:08:13 mrg Exp $ */ /*- @@ -256,7 +256,6 @@ int sysctl_pty(int *, u_int, void *, size_t *, void *, size_t); int b_to_q(u_char *cp, int cc, struct clist *q); void catq(struct clist *from, struct clist *to); -void clist_init(void); int getc(struct clist *q); void ndflush(struct clist *q, int cc); int ndqb(struct clist *q, int flag); -- 2.20.1