Trailing whitespace

This commit is contained in:
skrll 2020-10-30 06:57:08 +00:00
parent 55c1bccc50
commit f157d2e256
4 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_command.c,v 1.170 2020/04/13 11:43:27 skrll Exp $ */
/* $NetBSD: db_command.c,v 1.171 2020/10/30 06:57:08 skrll Exp $ */
/*
* Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009, 2019
@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.170 2020/04/13 11:43:27 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.171 2020/10/30 06:57:08 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_aio.h"
@ -472,7 +472,7 @@ int
db_register_tbl(uint8_t type, const struct db_command *cmd_tbl)
{
struct db_cmd_tbl_en *list_ent;
/* empty list - ignore */
if (cmd_tbl->name == 0)
return 0;

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_command.h,v 1.38 2020/05/31 09:51:55 rin Exp $ */
/* $NetBSD: db_command.h,v 1.39 2020/10/30 06:57:08 skrll Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc.
@ -88,7 +88,7 @@ struct db_command;
#define DDB_ADD_CMD(name,funct,type,cmd_descr,cmd_arg,arg_desc)\
name,funct,type
#endif
/*
@ -109,7 +109,7 @@ int db_unregister_tbl(uint8_t, const struct db_command *);
*/
struct db_command {
const char *name; /* command name */
/* function to call */
void (*fcn)(db_expr_t, bool, db_expr_t, const char *);
/*
@ -130,7 +130,7 @@ struct db_command {
#define CS_OWN 0x1 /* non-standard syntax */
#define CS_MORE 0x2 /* standard syntax, but may have other
words at end */
#define CS_COMPAT 0x4 /* is set for compatibilty with old
#define CS_COMPAT 0x4 /* is set for compatibilty with old
ddb versions*/
#define CS_SHOW 0x8 /* select show list */
#define CS_MACH 0x10 /* select machine dependent list */

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_input.c,v 1.27 2019/09/29 02:00:22 uwe Exp $ */
/* $NetBSD: db_input.c,v 1.28 2020/10/30 06:57:08 skrll Exp $ */
/*
* Mach Operating System
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_input.c,v 1.27 2019/09/29 02:00:22 uwe Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_input.c,v 1.28 2020/10/30 06:57:08 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddbparam.h"
@ -153,7 +153,7 @@ db_hist_put(int c)
db_history_last = db_history;
}
#endif
/* returns true at end-of-line */
static int

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_proc.c,v 1.12 2020/04/04 13:59:16 mlelstv Exp $ */
/* $NetBSD: db_proc.c,v 1.13 2020/10/30 06:57:08 skrll Exp $ */
/*-
* Copyright (c) 2009, 2020 The NetBSD Foundation, Inc.
@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_proc.c,v 1.12 2020/04/04 13:59:16 mlelstv Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_proc.c,v 1.13 2020/10/30 06:57:08 skrll Exp $");
#ifndef _KERNEL
#include <stdbool.h>
@ -238,7 +238,7 @@ db_show_all_procs(db_expr_t addr, bool haddr, db_expr_t count,
kauth_cred_getuid(p.p_cred),
#else
/* XXX CRASH(8) */ 666,
#endif
#endif
p.p_stat, p.p_flag,
p.p_nlwps, p.p_comm,
(p.p_nlwps != 1) ? "*" : wbuf);