aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-10-08 22:23:00 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-10-08 22:23:00 +0000
commitb4a8d5753ec3074b30238a607fd3da6448ec8229 (patch)
treee5232ff1ad2af646532152fd35c4b73e22614719 /sys/sys
parent50a1a0544557fa00301c41827a7636b4605dd386 (diff)
downloadsrc-b4a8d5753ec3074b30238a607fd3da6448ec8229.tar.gz
src-b4a8d5753ec3074b30238a607fd3da6448ec8229.zip
Added prototypes here and there. Moved pfctlinput into socket.h.
Notes
Notes: svn path=/head/; revision=3438
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/conf.h7
-rw-r--r--sys/sys/linedisc.h7
-rw-r--r--sys/sys/protosw.h3
-rw-r--r--sys/sys/resourcevar.h3
-rw-r--r--sys/sys/socket.h4
-rw-r--r--sys/sys/ucred.h4
-rw-r--r--sys/sys/vnode.h3
7 files changed, 23 insertions, 8 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index cedd4dc77f14..7aba080bbcef 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)conf.h 8.3 (Berkeley) 1/21/94
- * $Id: conf.h,v 1.2 1994/08/02 07:52:44 davidg Exp $
+ * $Id: conf.h,v 1.3 1994/08/21 04:41:36 paul Exp $
*/
#ifndef _SYS_CONF_H_
@@ -124,6 +124,11 @@ struct swdevt {
#ifdef KERNEL
extern struct swdevt swdevt[];
+
+int iskmemdev __P((dev_t));
+int iszerodev __P((dev_t));
+int isdisk __P((dev_t, int));
+int chrtoblk __P((dev_t));
#endif
#endif
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index cedd4dc77f14..7aba080bbcef 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)conf.h 8.3 (Berkeley) 1/21/94
- * $Id: conf.h,v 1.2 1994/08/02 07:52:44 davidg Exp $
+ * $Id: conf.h,v 1.3 1994/08/21 04:41:36 paul Exp $
*/
#ifndef _SYS_CONF_H_
@@ -124,6 +124,11 @@ struct swdevt {
#ifdef KERNEL
extern struct swdevt swdevt[];
+
+int iskmemdev __P((dev_t));
+int iszerodev __P((dev_t));
+int isdisk __P((dev_t, int));
+int chrtoblk __P((dev_t));
#endif
#endif
diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h
index 1b1890f5d0ae..c3749acded6e 100644
--- a/sys/sys/protosw.h
+++ b/sys/sys/protosw.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)protosw.h 8.1 (Berkeley) 6/2/93
- * $Id: protosw.h,v 1.3 1994/08/21 04:41:56 paul Exp $
+ * $Id: protosw.h,v 1.4 1994/10/08 01:45:27 phk Exp $
*/
#ifndef _SYS_PROTOSW_H_
@@ -211,7 +211,6 @@ char *prcorequests[] = {
#ifdef KERNEL
extern struct protosw *pffindproto(), *pffindtype();
-void pfctlinput __P((int,struct sockaddr *));
#endif
#endif
diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h
index 29e7d887cc89..0e9c05fa0286 100644
--- a/sys/sys/resourcevar.h
+++ b/sys/sys/resourcevar.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)resourcevar.h 8.3 (Berkeley) 2/22/94
- * $Id: resourcevar.h,v 1.2 1994/08/02 07:53:29 davidg Exp $
+ * $Id: resourcevar.h,v 1.3 1994/10/02 17:24:53 phk Exp $
*/
#ifndef _SYS_RESOURCEVAR_H_
@@ -85,6 +85,7 @@ struct plimit {
#ifdef KERNEL
void addupc_intr __P((struct proc *p, u_long pc, u_int ticks));
void addupc_task __P((struct proc *p, u_long pc, u_int ticks));
+int addupc __P((int, struct uprof *, int));
struct plimit
*limcopy __P((struct plimit *lim));
void calcru __P((struct proc *p,struct timeval *up,struct timeval *sp,struct timeval *ip));
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index 35afe363240a..30711ffd2826 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)socket.h 8.4 (Berkeley) 2/21/94
- * $Id: socket.h,v 1.2 1994/08/02 07:53:35 davidg Exp $
+ * $Id: socket.h,v 1.3 1994/10/02 17:24:56 phk Exp $
*/
#ifndef _SYS_SOCKET_H_
@@ -337,5 +337,7 @@ int socket __P((int, int, int));
int socketpair __P((int, int, int, int *));
__END_DECLS
+#else /* KERNEL */
+void pfctlinput __P((int, struct sockaddr *));
#endif /* !KERNEL */
#endif /* !_SYS_SOCKET_H_ */
diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h
index d630c4f6ae56..ebdfaee18f57 100644
--- a/sys/sys/ucred.h
+++ b/sys/sys/ucred.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ucred.h 8.2 (Berkeley) 1/4/94
- * $Id: ucred.h,v 1.2 1994/08/02 07:54:00 davidg Exp $
+ * $Id: ucred.h,v 1.3 1994/08/18 22:35:51 wollman Exp $
*/
#ifndef _SYS_UCRED_H_
@@ -57,6 +57,8 @@ struct ucred *crcopy(struct ucred *);
struct ucred *crdup(struct ucred *);
extern void crfree(struct ucred *);
extern int suser(struct ucred *, short *);
+int groupmember __P((gid_t, struct ucred *));
+
#endif /* KERNEL */
#endif /* !_SYS_UCRED_H_ */
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index a5bbc44434ae..753ed13b36f8 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vnode.h 8.7 (Berkeley) 2/4/94
- * $Id: vnode.h,v 1.10 1994/10/02 17:25:04 phk Exp $
+ * $Id: vnode.h,v 1.11 1994/10/05 09:48:39 davidg Exp $
*/
#ifndef _SYS_VNODE_H_
@@ -415,6 +415,7 @@ void vprint __P((char *, struct vnode *));
void vput __P((struct vnode *vp));
void vref __P((struct vnode *vp));
void vrele __P((struct vnode *vp));
+int vn_writechk __P((struct vnode *vp));
void vfs_opv_init __P((struct vnodeopv_desc **));
#endif /* KERNEL */