summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-07-04 11:14:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-07-04 11:14:01 +0000
commit19508273c8461dfa64a17a72582e419da33bcd89 (patch)
treeaa9e3949416cdff526d6d5cafe5a0a4237360903 /sys
parent01db6d5b34dd25852d2e93e533085a359cc40eba (diff)
remove prototypes for removed functions
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mount.h3
-rw-r--r--sys/sys/proc.h4
-rw-r--r--sys/sys/sysctl.h5
-rw-r--r--sys/sys/tty.h3
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);