Trailing whitespace
This commit is contained in:
parent
8f1704bf5a
commit
cf96d30a9f
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: netbsd32.h,v 1.111 2016/09/23 14:12:00 skrll Exp $ */
|
/* $NetBSD: netbsd32.h,v 1.112 2016/09/23 14:16:32 skrll Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1998, 2001, 2008, 2015 Matthew R. Green
|
* Copyright (c) 1998, 2001, 2008, 2015 Matthew R. Green
|
||||||
@ -276,7 +276,7 @@ struct netbsd32_export_args30 {
|
|||||||
int ex_addrlen; /* and the net address length */
|
int ex_addrlen; /* and the net address length */
|
||||||
netbsd32_pointer_t ex_mask; /* mask of valid bits in saddr */
|
netbsd32_pointer_t ex_mask; /* mask of valid bits in saddr */
|
||||||
int ex_masklen; /* and the smask length */
|
int ex_masklen; /* and the smask length */
|
||||||
netbsd32_charp ex_indexfile; /* index file for WebNFS URLs */
|
netbsd32_charp ex_indexfile; /* index file for WebNFS URLs */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* from <sys/poll.h> */
|
/* from <sys/poll.h> */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: netbsd32_time.c,v 1.47 2016/09/23 14:09:39 skrll Exp $ */
|
/* $NetBSD: netbsd32_time.c,v 1.48 2016/09/23 14:16:32 skrll Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1998, 2001 Matthew R. Green
|
* Copyright (c) 1998, 2001 Matthew R. Green
|
||||||
@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.47 2016/09/23 14:09:39 skrll Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.48 2016/09/23 14:16:32 skrll Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_ntp.h"
|
#include "opt_ntp.h"
|
||||||
@ -53,7 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.47 2016/09/23 14:09:39 skrll Exp
|
|||||||
#ifdef NTP
|
#ifdef NTP
|
||||||
|
|
||||||
int
|
int
|
||||||
netbsd32___ntp_gettime50(struct lwp *l,
|
netbsd32___ntp_gettime50(struct lwp *l,
|
||||||
const struct netbsd32___ntp_gettime50_args *uap, register_t *retval)
|
const struct netbsd32___ntp_gettime50_args *uap, register_t *retval)
|
||||||
{
|
{
|
||||||
/* {
|
/* {
|
||||||
@ -83,7 +83,7 @@ netbsd32___ntp_gettime50(struct lwp *l,
|
|||||||
|
|
||||||
#ifdef COMPAT_50
|
#ifdef COMPAT_50
|
||||||
int
|
int
|
||||||
compat_50_netbsd32_ntp_gettime(struct lwp *l,
|
compat_50_netbsd32_ntp_gettime(struct lwp *l,
|
||||||
const struct compat_50_netbsd32_ntp_gettime_args *uap, register_t *retval)
|
const struct compat_50_netbsd32_ntp_gettime_args *uap, register_t *retval)
|
||||||
{
|
{
|
||||||
/* {
|
/* {
|
||||||
@ -327,7 +327,7 @@ netbsd32___adjtime50(struct lwp *l, const struct netbsd32___adjtime50_args *uap,
|
|||||||
if (error)
|
if (error)
|
||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SCARG_P32(uap, delta)) {
|
if (SCARG_P32(uap, delta)) {
|
||||||
error = copyin(SCARG_P32(uap, delta), &atv, sizeof(atv));
|
error = copyin(SCARG_P32(uap, delta), &atv, sizeof(atv));
|
||||||
if (error)
|
if (error)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: kern_exit.c,v 1.259 2016/09/23 14:09:39 skrll Exp $ */
|
/* $NetBSD: kern_exit.c,v 1.260 2016/09/23 14:16:44 skrll Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998, 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998, 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
|
||||||
@ -67,7 +67,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.259 2016/09/23 14:09:39 skrll Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.260 2016/09/23 14:16:44 skrll Exp $");
|
||||||
|
|
||||||
#include "opt_ktrace.h"
|
#include "opt_ktrace.h"
|
||||||
#include "opt_dtrace.h"
|
#include "opt_dtrace.h"
|
||||||
@ -658,7 +658,7 @@ do_sys_waitid(idtype_t idtype, id_t id, int *pid, int *status, int options,
|
|||||||
proc_t *child;
|
proc_t *child;
|
||||||
int error;
|
int error;
|
||||||
|
|
||||||
|
|
||||||
if (wru != NULL)
|
if (wru != NULL)
|
||||||
memset(wru, 0, sizeof(*wru));
|
memset(wru, 0, sizeof(*wru));
|
||||||
if (si != NULL)
|
if (si != NULL)
|
||||||
@ -793,7 +793,7 @@ sys_wait6(struct lwp *l, const struct sys_wait6_args *uap, register_t *retval)
|
|||||||
retval[0] = pid; /* tell userland who it was */
|
retval[0] = pid; /* tell userland who it was */
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/*
|
/*
|
||||||
* should we copyout if there was no process, hence no useful data?
|
* should we copyout if there was no process, hence no useful data?
|
||||||
* We don't for an old sytle wait4() (etc) but I believe
|
* We don't for an old sytle wait4() (etc) but I believe
|
||||||
* FreeBSD does for wait6(), so a tossup... Go with FreeBSD for now.
|
* FreeBSD does for wait6(), so a tossup... Go with FreeBSD for now.
|
||||||
@ -1036,7 +1036,7 @@ find_stopped_child(struct proc *parent, idtype_t idtype, id_t id, int options,
|
|||||||
}
|
}
|
||||||
if (si) {
|
if (si) {
|
||||||
si->si_status = child->p_xsig;
|
si->si_status = child->p_xsig;
|
||||||
si->si_code =
|
si->si_code =
|
||||||
(child->p_slflag & PSL_TRACED) ?
|
(child->p_slflag & PSL_TRACED) ?
|
||||||
CLD_TRAPPED : CLD_STOPPED;
|
CLD_TRAPPED : CLD_STOPPED;
|
||||||
}
|
}
|
||||||
@ -1131,7 +1131,7 @@ proc_free(struct proc *p, struct wrusage *wru)
|
|||||||
p->p_xexit = 0;
|
p->p_xexit = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* At this point we are going to start freeing the final resources.
|
* At this point we are going to start freeing the final resources.
|
||||||
* If anyone tries to access the proc structure after here they will
|
* If anyone tries to access the proc structure after here they will
|
||||||
* get a shock - bits are missing. Attempt to make it hard! We
|
* get a shock - bits are missing. Attempt to make it hard! We
|
||||||
* don't bother with any further locking past this point.
|
* don't bother with any further locking past this point.
|
||||||
|
Loading…
Reference in New Issue
Block a user