]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1930: compiler warnings with clang-17 v9.0.1930
authorDominique Pellé <dominique.pelle@tomtom.com>
Sun, 24 Sep 2023 14:12:07 +0000 (16:12 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 24 Sep 2023 14:16:06 +0000 (16:16 +0200)
commit4927bc7d278caa022358832d96604a72a2a58a45
tree7e276d7c7feb4f9f89d7d9b0855c8019833957c6
parent99c3849a9299982666a7b677f0565a7b3717d20c
patch 9.0.1930: compiler warnings with clang-17

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 <cb@256bit.org>
Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
src/debugger.c
src/if_python3.c
src/os_unix.c
src/proto/if_python3.pro
src/version.c