From 4927bc7d278caa022358832d96604a72a2a58a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominique=20Pell=C3=A9?= Date: Sun, 24 Sep 2023 16:12:07 +0200 Subject: patch 9.0.1930: compiler warnings with clang-17 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: compiler warnings with clang-17 Solution: Fix function prototypes and function pointer fix: clang compilation warnings with -Wstrict-prototypes Change fixes this kind of compilation warnings with clang: ``` proto/if_python3.pro:13:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 13 | int python3_version(); | ^ | void ``` closes: #13166 Signed-off-by: Christian Brabandt Co-authored-by: Dominique Pellé --- src/debugger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debugger.c') diff --git a/src/debugger.c b/src/debugger.c index 66647ab464..5508ea33fc 100644 --- a/src/debugger.c +++ b/src/debugger.c @@ -1000,7 +1000,7 @@ has_profiling( } static void -prof_clear_cache() +prof_clear_cache(void) { if (!prof_cache_initialized) { -- cgit v1.2.3