summaryrefslogtreecommitdiffstats
path: root/sys/ddb
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-23 11:53:03 +0000
committerbde <bde@FreeBSD.org>2002-03-23 11:53:03 +0000
commitf8611316d9b3a8d7d85e83a81e588a71e819584e (patch)
tree428a8724ec75a2d0da0323ad3dd24ad78ad42033 /sys/ddb
parentd27d5e3b44ff619a0151aa86993697a211e61bc7 (diff)
downloadFreeBSD-src-f8611316d9b3a8d7d85e83a81e588a71e819584e.zip
FreeBSD-src-f8611316d9b3a8d7d85e83a81e588a71e819584e.tar.gz
Fixed some style bugs in the removal of __P(()). Continuation lines
were not outdented to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting.
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_command.c20
-rw-r--r--sys/ddb/db_sym.h14
-rw-r--r--sys/ddb/ddb.h4
3 files changed, 15 insertions, 23 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 9d3be3b..6771abe 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -101,17 +101,14 @@ db_skip_to_eol()
#define CMD_AMBIGUOUS 3
#define CMD_HELP 4
-static void db_cmd_list(struct command *table,
- struct command **aux_tablep,
- struct command **aux_tablep_end);
+static void db_cmd_list(struct command *table, struct command **aux_tablep,
+ struct command **aux_tablep_end);
static int db_cmd_search(char *name, struct command *table,
- struct command **aux_tablep,
- struct command **aux_tablep_end,
- struct command **cmdp);
+ struct command **aux_tablep,
+ struct command **aux_tablep_end, struct command **cmdp);
static void db_command(struct command **last_cmdp,
- struct command *cmd_table,
- struct command **aux_cmd_tablep,
- struct command **aux_cmd_tablep_end);
+ struct command *cmd_table, struct command **aux_cmd_tablep,
+ struct command **aux_cmd_tablep_end);
/*
* Search for command prefix.
@@ -504,9 +501,8 @@ db_fncall(dummy1, dummy2, dummy3, dummy4)
int nargs = 0;
db_expr_t retval;
typedef db_expr_t fcn_10args_t(db_expr_t, db_expr_t, db_expr_t,
- db_expr_t, db_expr_t, db_expr_t,
- db_expr_t, db_expr_t, db_expr_t,
- db_expr_t);
+ db_expr_t, db_expr_t, db_expr_t, db_expr_t,
+ db_expr_t, db_expr_t, db_expr_t);
fcn_10args_t *func;
int t;
diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h
index 6b937c8..4097880 100644
--- a/sys/ddb/db_sym.h
+++ b/sys/ddb/db_sym.h
@@ -95,16 +95,12 @@ void db_printsym(db_expr_t, db_strategy_t);
int db_sym_numargs(c_db_sym_t, int *, char **);
boolean_t X_db_line_at_pc(db_symtab_t *symtab, c_db_sym_t cursym,
- char **filename, int *linenum,
- db_expr_t off);
+ char **filename, int *linenum, db_expr_t off);
c_db_sym_t X_db_lookup(db_symtab_t *stab, const char *symstr);
c_db_sym_t X_db_search_symbol(db_symtab_t *symtab, db_addr_t off,
- db_strategy_t strategy,
- db_expr_t *diffp);
-int X_db_sym_numargs(db_symtab_t *, c_db_sym_t, int *,
- char **);
-void X_db_symbol_values(db_symtab_t *symtab,
- c_db_sym_t sym, const char **namep,
- db_expr_t *valuep);
+ db_strategy_t strategy, db_expr_t *diffp);
+int X_db_sym_numargs(db_symtab_t *, c_db_sym_t, int *, char **);
+void X_db_symbol_values(db_symtab_t *symtab, c_db_sym_t sym,
+ const char **namep, db_expr_t *valuep);
#endif /* !_DDB_DB_SYM_H_ */
diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h
index fbaf5e6..8137a18 100644
--- a/sys/ddb/ddb.h
+++ b/sys/ddb/ddb.h
@@ -39,8 +39,8 @@
#include <machine/db_machdep.h> /* type definitions */
-typedef void db_cmdfcn_t(db_expr_t addr, boolean_t have_addr,
- db_expr_t count, char *modif);
+typedef void db_cmdfcn_t(db_expr_t addr, boolean_t have_addr, db_expr_t count,
+ char *modif);
#define DB_COMMAND(cmd_name, func_name) \
DB_SET(cmd_name, func_name, db_cmd_set)
OpenPOWER on IntegriCloud