aboutsummaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-12-10 14:57:03 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-10 18:51:14 +0100
commitc438cc6adc172a76c71b7d6f248bfc3503c39bab (patch)
treef52ce4366290db522c5cd76e8d722bfccc3e99fa /ddb
parent5d1a540211adc9f9f96b80f2c037369b85b9edbd (diff)
downloadgnumach-c438cc6adc172a76c71b7d6f248bfc3503c39bab.tar.gz
gnumach-c438cc6adc172a76c71b7d6f248bfc3503c39bab.tar.bz2
gnumach-c438cc6adc172a76c71b7d6f248bfc3503c39bab.zip
Fix various function pointer types
Fixes Wincompatible-pointer-types errors on GCC 15. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-ID: <20241210115705.710555-1-bugaevc@gmail.com>
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_variables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_variables.h b/ddb/db_variables.h
index 9880d50f..2929dab9 100644
--- a/ddb/db_variables.h
+++ b/ddb/db_variables.h
@@ -51,7 +51,7 @@ struct db_variable {
#define DB_VAR_GET 0
#define DB_VAR_SET 1
};
-#define FCN_NULL ((void (*)())0)
+#define FCN_NULL ((void (*)(struct db_variable *, db_expr_t *, int, db_var_aux_param_t))0)
#define DB_VAR_LEVEL 3 /* maximum number of suffix level */