ddb: clean up empty lines in .c and .h files

This commit is contained in:
Mateusz Guzik 2020-09-01 22:14:30 +00:00
parent d40bc60752
commit b10bc5a1d5
6 changed files with 1 additions and 10 deletions

@ -178,7 +178,6 @@ db_set_breakpoints(void)
register db_breakpoint_t bkpt; register db_breakpoint_t bkpt;
if (!db_breakpoints_inserted) { if (!db_breakpoints_inserted) {
for (bkpt = db_breakpoint_list; for (bkpt = db_breakpoint_list;
bkpt != 0; bkpt != 0;
bkpt = bkpt->link) bkpt = bkpt->link)
@ -195,7 +194,6 @@ db_clear_breakpoints(void)
register db_breakpoint_t bkpt; register db_breakpoint_t bkpt;
if (db_breakpoints_inserted) { if (db_breakpoints_inserted) {
for (bkpt = db_breakpoint_list; for (bkpt = db_breakpoint_list;
bkpt != 0; bkpt != 0;
bkpt = bkpt->link) bkpt = bkpt->link)

@ -124,11 +124,9 @@ db_putchar(int c, void *arg)
struct dbputchar_arg *dap = arg; struct dbputchar_arg *dap = arg;
if (dap->da_pbufr == NULL) { if (dap->da_pbufr == NULL) {
/* No bufferized output is provided. */ /* No bufferized output is provided. */
db_putc(c); db_putc(c);
} else { } else {
*dap->da_pnext++ = c; *dap->da_pnext++ = c;
dap->da_remain--; dap->da_remain--;

@ -205,7 +205,6 @@ db_qualify(c_db_sym_t sym, char *symtabname)
return tmp; return tmp;
} }
bool bool
db_eqname(const char *src, const char *dst, int c) db_eqname(const char *src, const char *dst, int c)
{ {
@ -408,7 +407,6 @@ db_symbol_values(c_db_sym_t sym, const char **namep, db_expr_t *valuep)
*valuep = value; *valuep = value;
} }
/* /*
* Print a the closest symbol to value * Print a the closest symbol to value
* *

@ -277,8 +277,6 @@ db_find_watchpoint(vm_map_t map, db_addr_t addr, db_regs_t regs)
} }
#endif #endif
/* Delete hardware watchpoint */ /* Delete hardware watchpoint */
/*ARGSUSED*/ /*ARGSUSED*/
void void

@ -90,4 +90,3 @@ db_write_cmd(db_expr_t address, bool have_addr, db_expr_t count,
db_skip_to_eol(); db_skip_to_eol();
} }