Added comments about non-staticization so it doesn't get un-done next

time someone goes on a staticization binge.

Suggested by: eivind
This commit is contained in:
Mark Newton 1999-01-31 03:15:13 +00:00
parent 4c51e923e0
commit ba198b1c45
3 changed files with 6 additions and 3 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_exit.c 8.7 (Berkeley) 2/12/94
* $Id: kern_exit.c,v 1.72 1999/01/26 02:38:10 julian Exp $
* $Id: kern_exit.c,v 1.73 1999/01/30 06:25:00 newton Exp $
*/
#include "opt_compat.h"
@ -75,6 +75,7 @@
#include <vm/vm_zone.h>
#include <sys/user.h>
/* Required to be non-static for SysVR4 emulator */
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.38 1998/07/27 19:16:21 bde Exp $
* $Id: kern_resource.c,v 1.39 1999/01/30 06:25:00 newton Exp $
*/
#include "opt_compat.h"
@ -59,6 +59,7 @@
#include <vm/vm_map.h>
static int donice __P((struct proc *curp, struct proc *chgp, int n));
/* dosetrlimit non-static: Needed by SysVR4 emulator */
int dosetrlimit __P((struct proc *p, u_int which, struct rlimit *limp));
/*

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)sys_socket.c 8.1 (Berkeley) 6/10/93
* $Id: sys_socket.c,v 1.19 1998/11/11 10:03:56 truckman Exp $
* $Id: sys_socket.c,v 1.20 1999/01/30 06:25:00 newton Exp $
*/
#include <sys/param.h>
@ -49,6 +49,7 @@
#include <net/if.h>
#include <net/route.h>
/* soo_{read,write,close} non-static for SysVR4 "streams" pseudo-device */
int soo_read __P((struct file *fp, struct uio *uio,
struct ucred *cred));
int soo_write __P((struct file *fp, struct uio *uio,