From 249d838bc0fc1c73a1dde323b41ea6ff9d6c2064 Mon Sep 17 00:00:00 2001 From: Tildeslash Date: Sat, 23 Sep 2023 02:33:37 +0200 Subject: [PATCH] Update ma_context.c Old K&R function declaration is no longer supported when compiling on macOS 13.5.2 --- libmariadb/ma_context.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libmariadb/ma_context.c b/libmariadb/ma_context.c index 94a40668..30c03930 100644 --- a/libmariadb/ma_context.c +++ b/libmariadb/ma_context.c @@ -47,8 +47,7 @@ union pass_void_ptr_as_2_int { the actual type (as the actual type can differ from call to call). */ static void -my_context_spawn_internal(i0, i1) -int i0, i1; +my_context_spawn_internal(int i0, int i1) { int err; struct my_context *c;