Unstaticized routines which are needed by the svr4 KLD and the streams

garbage needed to support SysVR4 networking.
This commit is contained in:
Mark Newton 1999-01-30 06:25:00 +00:00
parent d81380b49d
commit 69a6f20bc8
3 changed files with 12 additions and 12 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_exit.c 8.7 (Berkeley) 2/12/94
* $Id: kern_exit.c,v 1.71 1999/01/07 21:23:41 julian Exp $
* $Id: kern_exit.c,v 1.72 1999/01/26 02:38:10 julian Exp $
*/
#include "opt_compat.h"
@ -75,7 +75,7 @@
#include <vm/vm_zone.h>
#include <sys/user.h>
static MALLOC_DEFINE(M_ZOMBIE, "zombie", "zombie proc status");
MALLOC_DEFINE(M_ZOMBIE, "zombie", "zombie proc status");
static int wait1 __P((struct proc *, struct wait_args *, int));

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_resource.c 8.5 (Berkeley) 1/21/94
* $Id: kern_resource.c,v 1.37 1998/05/28 09:30:18 phk Exp $
* $Id: kern_resource.c,v 1.38 1998/07/27 19:16:21 bde Exp $
*/
#include "opt_compat.h"
@ -59,7 +59,7 @@
#include <vm/vm_map.h>
static int donice __P((struct proc *curp, struct proc *chgp, int n));
static int dosetrlimit __P((struct proc *p, u_int which, struct rlimit *limp));
int dosetrlimit __P((struct proc *p, u_int which, struct rlimit *limp));
/*
* Resource controls and accounting.
@ -363,7 +363,7 @@ setrlimit(p, uap)
return (dosetrlimit(p, uap->which, &alim));
}
static int
int
dosetrlimit(p, which, limp)
struct proc *p;
u_int which;

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)sys_socket.c 8.1 (Berkeley) 6/10/93
* $Id: sys_socket.c,v 1.18 1998/06/07 17:11:40 dfr Exp $
* $Id: sys_socket.c,v 1.19 1998/11/11 10:03:56 truckman Exp $
*/
#include <sys/param.h>
@ -49,17 +49,17 @@
#include <net/if.h>
#include <net/route.h>
static int soo_read __P((struct file *fp, struct uio *uio,
int soo_read __P((struct file *fp, struct uio *uio,
struct ucred *cred));
static int soo_write __P((struct file *fp, struct uio *uio,
int soo_write __P((struct file *fp, struct uio *uio,
struct ucred *cred));
static int soo_close __P((struct file *fp, struct proc *p));
int soo_close __P((struct file *fp, struct proc *p));
struct fileops socketops =
{ soo_read, soo_write, soo_ioctl, soo_poll, soo_close };
/* ARGSUSED */
static int
int
soo_read(fp, uio, cred)
struct file *fp;
struct uio *uio;
@ -70,7 +70,7 @@ soo_read(fp, uio, cred)
}
/* ARGSUSED */
static int
int
soo_write(fp, uio, cred)
struct file *fp;
struct uio *uio;
@ -168,7 +168,7 @@ soo_stat(so, ub)
}
/* ARGSUSED */
static int
int
soo_close(fp, p)
struct file *fp;
struct proc *p;