diff options
author | Bruce Evans <bde@FreeBSD.org> | 1995-08-27 02:39:39 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1995-08-27 02:39:39 +0000 |
commit | 976794d96784b33455df977a9a07bdf32c5197f0 (patch) | |
tree | b61658085d4265dc0f8f2aaecdca8eb4a082bcf0 /sys/ddb | |
parent | 7e877393a87ea312e2d50138e342cc9db484f688 (diff) | |
download | src-976794d96784b33455df977a9a07bdf32c5197f0.tar.gz src-976794d96784b33455df977a9a07bdf32c5197f0.zip |
Change db_fncall() and db_panic() to have the correct number and type of
args for a ddb command.
Notes
Notes:
svn path=/head/; revision=10348
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_command.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index c52238ad6116..5db69d471974 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_command.c,v 1.12 1995/03/19 14:28:28 davidg Exp $ + * $Id: db_command.c,v 1.13 1995/05/30 07:56:52 rgrimes Exp $ */ /* @@ -63,7 +63,7 @@ boolean_t db_ed_style = TRUE; void db_help_cmd __P((void)); -void db_fncall __P((void)); +void db_fncall __P((db_expr_t, boolean_t, db_expr_t, char *)); /* * Utility routine - discard tokens through end-of-line. @@ -185,7 +185,7 @@ db_command(last_cmdp, cmd_table) modif[0] = '\0'; } else if (t == tEXCL) { - db_fncall(); + db_fncall((db_expr_t)0, (boolean_t)0, (db_expr_t)0, (char *)0); return; } else if (t != tIDENT) { @@ -388,7 +388,11 @@ db_help_cmd() #endif void -db_panic() +db_panic(dummy1, dummy2, dummy3, dummy4) + db_expr_t dummy1; + boolean_t dummy2; + db_expr_t dummy3; + char * dummy4; { panic("from debugger"); } @@ -432,7 +436,11 @@ db_error(s) * !expr(arg,arg,arg) */ void -db_fncall() +db_fncall(dummy1, dummy2, dummy3, dummy4) + db_expr_t dummy1; + boolean_t dummy2; + db_expr_t dummy3; + char * dummy4; { db_expr_t fn_addr; #define MAXARGS 11 |