From cf8ef945796fd6c0edb50dac1876fcaf6160ee68 Mon Sep 17 00:00:00 2001 From: Luca Dariz Date: Mon, 16 Jan 2023 14:04:23 +0100 Subject: add missing argument names * ddb/db_break.c: add argument name, compilation fails on Debian/Linux stable with gcc 10.2 otherwise. For some reason on Debian/Hurd a simple test program without argname succeeds, unless I force -std=c11 or similar; I suppose because newer gcc have different defaults. Gnumach seem to still require c89 for some older code, otherwise we could explicitely use gnu99/c99 or gnu11/c11. * ddb/db_cond.c: Likewise * ddb/db_examine.c: Likewise * ddb/db_macro.c: Likewise * ddb/db_watch.c: Likewise * device/dev_name.c: Likewise Message-Id: <20230116130426.246584-1-luca@orpolo.org> --- ddb/db_break.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ddb/db_break.c') diff --git a/ddb/db_break.c b/ddb/db_break.c index 780c1ccc..374dc6ac 100644 --- a/ddb/db_break.c +++ b/ddb/db_break.c @@ -598,10 +598,10 @@ db_list_breakpoints(void) /*ARGSUSED*/ void db_delete_cmd( - db_expr_t, - boolean_t, - db_expr_t, - const char *) + db_expr_t addr_, + int have_addr, + db_expr_t count, + const char * modif) { int n; thread_t thread; @@ -735,10 +735,10 @@ db_breakpoint_cmd( /* list breakpoints */ void db_listbreak_cmd( - db_expr_t, - boolean_t, - db_expr_t, - const char *) + db_expr_t addr, + int have_addr, + db_expr_t count, + const char * modif) { db_list_breakpoints(); } -- cgit v1.2.3