diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-01-04 00:30:28 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-05 01:01:45 +0100 |
commit | c8cd13d8e9853752de5756ab42a98e2d0baff0a9 (patch) | |
tree | 3da4d2d12fdb903b1a85e93cf9514e5d93f7ae67 /ddb/db_macro.c | |
parent | d7348c94453d2662affecbb7605047044898ed19 (diff) | |
download | gnumach-c8cd13d8e9853752de5756ab42a98e2d0baff0a9.tar.gz gnumach-c8cd13d8e9853752de5756ab42a98e2d0baff0a9.tar.bz2 gnumach-c8cd13d8e9853752de5756ab42a98e2d0baff0a9.zip |
Fix ddb warnings introduced with -Wstrict-prototypes
Changed some ddb command functions to have the expected signature but
not all of them due to the being difficult to inter-dependency between
header files (for those just used cast).
Message-Id: <Y7UO9HTfpZ8U0Nfy@mars>
Diffstat (limited to 'ddb/db_macro.c')
-rw-r--r-- | ddb/db_macro.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/ddb/db_macro.c b/ddb/db_macro.c index 2a28a442..d417abe1 100644 --- a/ddb/db_macro.c +++ b/ddb/db_macro.c @@ -72,7 +72,11 @@ db_lookup_macro(const char *name) } void -db_def_macro_cmd(void) +db_def_macro_cmd( + db_expr_t, + boolean_t, + db_expr_t, + const char *) { char *p; int c; @@ -103,7 +107,11 @@ db_def_macro_cmd(void) } void -db_del_macro_cmd(void) +db_del_macro_cmd( + db_expr_t, + boolean_t, + db_expr_t, + const char *) { struct db_user_macro *mp; @@ -119,7 +127,11 @@ db_del_macro_cmd(void) } void -db_show_macro(void) +db_show_macro( + db_expr_t, + boolean_t, + db_expr_t, + const char *) { struct db_user_macro *mp; int t; |