Cosmetics. (sort of) Added 19 prototypes.

This commit is contained in:
Poul-Henning Kamp
1994-10-10 00:58:36 +00:00
parent c67da8bec0
commit 3d05297c86
8 changed files with 53 additions and 29 deletions
+10 -6
View File
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)buf.h 8.7 (Berkeley) 1/21/94
* $Id: buf.h,v 1.7 1994/09/25 19:33:59 phk Exp $
* $Id: buf.h,v 1.8 1994/10/05 09:48:38 davidg Exp $
*/
#ifndef _SYS_BUF_H_
@@ -204,6 +204,7 @@ void bdwrite __P((struct buf *));
void bawrite __P((struct buf *));
void brelse __P((struct buf *));
struct buf *getnewbuf __P((int slpflag, int slptimeo));
struct buf * getpbuf __P((void));
struct buf *incore __P((struct vnode *, daddr_t));
struct buf *getblk __P((struct vnode *, daddr_t, int, int, int));
struct buf *geteblk __P((int));
@@ -215,11 +216,14 @@ void cluster_callback __P((struct buf *));
int cluster_read __P((struct vnode *, u_quad_t, daddr_t, long,
struct ucred *, struct buf **));
void cluster_write __P((struct buf *, u_quad_t));
u_int minphys __P((struct buf *bp));
void vwakeup __P((struct buf *bp));
void brelvp __P((struct buf *bp));
void bgetvp __P((struct vnode *vp,struct buf *bp));
void reassignbuf __P((struct buf *bp,struct vnode *newvp));
u_int minphys __P((struct buf *));
void vwakeup __P((struct buf *));
void vmapbuf __P((struct buf *));
void vunmapbuf __P((struct buf *));
void relpbuf __P((struct buf *));
void brelvp __P((struct buf *));
void bgetvp __P((struct vnode *, struct buf *));
void reassignbuf __P((struct buf *, struct vnode *));
__END_DECLS
#endif
#endif /* !_SYS_BUF_H_ */
+10 -6
View File
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)buf.h 8.7 (Berkeley) 1/21/94
* $Id: buf.h,v 1.7 1994/09/25 19:33:59 phk Exp $
* $Id: buf.h,v 1.8 1994/10/05 09:48:38 davidg Exp $
*/
#ifndef _SYS_BUF_H_
@@ -204,6 +204,7 @@ void bdwrite __P((struct buf *));
void bawrite __P((struct buf *));
void brelse __P((struct buf *));
struct buf *getnewbuf __P((int slpflag, int slptimeo));
struct buf * getpbuf __P((void));
struct buf *incore __P((struct vnode *, daddr_t));
struct buf *getblk __P((struct vnode *, daddr_t, int, int, int));
struct buf *geteblk __P((int));
@@ -215,11 +216,14 @@ void cluster_callback __P((struct buf *));
int cluster_read __P((struct vnode *, u_quad_t, daddr_t, long,
struct ucred *, struct buf **));
void cluster_write __P((struct buf *, u_quad_t));
u_int minphys __P((struct buf *bp));
void vwakeup __P((struct buf *bp));
void brelvp __P((struct buf *bp));
void bgetvp __P((struct vnode *vp,struct buf *bp));
void reassignbuf __P((struct buf *bp,struct vnode *newvp));
u_int minphys __P((struct buf *));
void vwakeup __P((struct buf *));
void vmapbuf __P((struct buf *));
void vunmapbuf __P((struct buf *));
void relpbuf __P((struct buf *));
void brelvp __P((struct buf *));
void bgetvp __P((struct vnode *, struct buf *));
void reassignbuf __P((struct buf *, struct vnode *));
__END_DECLS
#endif
#endif /* !_SYS_BUF_H_ */
+9 -2
View File
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.8 (Berkeley) 1/21/94
* $Id: proc.h,v 1.10 1994/10/02 08:34:47 davidg Exp $
* $Id: proc.h,v 1.11 1994/10/02 17:24:52 phk Exp $
*/
#ifndef _SYS_PROC_H_
@@ -271,7 +271,14 @@ void unsleep __P((struct proc *));
void wakeup __P((void *chan));
__dead void cpu_exit __P((struct proc *));
__dead void exit1 __P((struct proc *, int));
void fixjobc __P((struct proc *, struct pgrp *, int));
int acct_process __P((struct proc *));
int leavepgrp __P((struct proc *));
int enterpgrp __P((struct proc *, pid_t, int));
int trace_req __P((struct proc *));
void cpu_wait __P((struct proc *));
int cpu_coredump __P((struct proc *, struct vnode *, struct ucred *));
int inferior __P((struct proc *));
#endif /* KERNEL */
#endif /* !_SYS_PROC_H_ */
+4 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)resourcevar.h 8.3 (Berkeley) 2/22/94
* $Id: resourcevar.h,v 1.3 1994/10/02 17:24:53 phk Exp $
* $Id: resourcevar.h,v 1.4 1994/10/08 22:22:58 phk Exp $
*/
#ifndef _SYS_RESOURCEVAR_H_
@@ -89,5 +89,8 @@ 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));
void ruadd __P((struct rusage *, struct rusage *));
int fuswintr __P((caddr_t));
int suswintr __P((caddr_t, int));
#endif
#endif /* !_SYS_RESOURCEVAR_H_ */
+3 -1
View File
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)sysctl.h 8.1 (Berkeley) 6/2/93
* $Id: sysctl.h,v 1.15 1994/10/08 01:45:30 phk Exp $
* $Id: sysctl.h,v 1.16 1994/10/08 03:31:53 phk Exp $
*/
#ifndef _SYS_SYSCTL_H_
@@ -361,6 +361,8 @@ int sysctl_clockrate __P((char *, size_t*));
int sysctl_vnode __P((char *, size_t*));
int sysctl_file __P((char *, size_t*));
int sysctl_doproc __P((int *, u_int, char *, size_t*));
int kern_sysctl __P((int *, u_int, void *, size_t *, void *, size_t, struct proc *));
int hw_sysctl __P((int *, u_int, void *, size_t *, void *, size_t, struct proc *));
#else /* !KERNEL */
#include <sys/cdefs.h>
+3 -1
View File
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)systm.h 8.4 (Berkeley) 2/23/94
* $Id: systm.h,v 1.11 1994/09/18 21:30:30 bde Exp $
* $Id: systm.h,v 1.12 1994/10/02 17:24:59 phk Exp $
*/
#ifndef _SYS_SYSTM_H_
@@ -155,6 +155,7 @@ void startprofclock __P((struct proc *));
void stopprofclock __P((struct proc *));
void setstatclockrate __P((int hzrate));
void hardupdate __P((long));
#include <libkern/libkern.h>
/* Initialize the world */
@@ -182,5 +183,6 @@ typedef timeout_t *timeout_func_t; /* a pointer to this type */
void timeout(timeout_func_t, void *, int);
void untimeout(timeout_func_t, void *);
void logwakeup __P((void));
#endif /* !_SYS_SYSTM_H_ */
+7 -6
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)time.h 8.1 (Berkeley) 6/2/93
* $Id: time.h,v 1.3 1994/08/18 22:35:48 wollman Exp $
* $Id: time.h,v 1.4 1994/10/02 17:25:01 phk Exp $
*/
#ifndef _SYS_TIME_H_
@@ -108,11 +108,12 @@ struct clockinfo {
#ifdef KERNEL
void microtime __P((struct timeval *));
void timevaladd __P((struct timeval *, struct timeval *));
void timevalsub __P((struct timeval *, struct timeval *));
void timevalfix __P((struct timeval *));
int itimerdecr __P((struct itimerval *itp,int usec));
int itimerdecr __P((struct itimerval *itp,int usec));
int itimerfix __P((struct timeval *));
void microtime __P((struct timeval *));
void timevaladd __P((struct timeval *, struct timeval *));
void timevalfix __P((struct timeval *));
void timevalsub __P((struct timeval *, struct timeval *));
#else /* not KERNEL */
#include <time.h>
+7 -6
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)time.h 8.1 (Berkeley) 6/2/93
* $Id: time.h,v 1.3 1994/08/18 22:35:48 wollman Exp $
* $Id: time.h,v 1.4 1994/10/02 17:25:01 phk Exp $
*/
#ifndef _SYS_TIME_H_
@@ -108,11 +108,12 @@ struct clockinfo {
#ifdef KERNEL
void microtime __P((struct timeval *));
void timevaladd __P((struct timeval *, struct timeval *));
void timevalsub __P((struct timeval *, struct timeval *));
void timevalfix __P((struct timeval *));
int itimerdecr __P((struct itimerval *itp,int usec));
int itimerdecr __P((struct itimerval *itp,int usec));
int itimerfix __P((struct timeval *));
void microtime __P((struct timeval *));
void timevaladd __P((struct timeval *, struct timeval *));
void timevalfix __P((struct timeval *));
void timevalsub __P((struct timeval *, struct timeval *));
#else /* not KERNEL */
#include <time.h>