summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornewton <newton@FreeBSD.org>1999-01-30 06:25:00 +0000
committernewton <newton@FreeBSD.org>1999-01-30 06:25:00 +0000
commit3a4cced85e34bb367db0c471ee6e8f6429ea4e34 (patch)
treebfbdc3e89b6cb8167083aa86b4863bb049e40e7d
parent6a94e83a778dbe0ab7d4e560c8c7694a60c30050 (diff)
downloadFreeBSD-src-3a4cced85e34bb367db0c471ee6e8f6429ea4e34.zip
FreeBSD-src-3a4cced85e34bb367db0c471ee6e8f6429ea4e34.tar.gz
Unstaticized routines which are needed by the svr4 KLD and the streams
garbage needed to support SysVR4 networking.
-rw-r--r--sys/kern/kern_exit.c4
-rw-r--r--sys/kern/kern_resource.c6
-rw-r--r--sys/kern/sys_socket.c14
3 files changed, 12 insertions, 12 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 22965f5..a29e0d3 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -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));
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index 1bad1d2..d7591a1 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -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;
diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c
index 8cf30cd..b001ff8 100644
--- a/sys/kern/sys_socket.c
+++ b/sys/kern/sys_socket.c
@@ -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;
OpenPOWER on IntegriCloud