diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2022-12-11 14:51:49 +0100 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2022-12-16 23:08:29 +0100 |
commit | 8b60e005cdb55fcf5100bd295bb9b8940515f63a (patch) | |
tree | e9a886d04e48f84c438b959772e269cbf5b2426b /sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp | |
parent | .hooks/pre-commit.d: unbreak EPOCH checker (diff) |
databases/kyotocabinet: add prototypes to kclangc.h declarations.
Some function declarations just use () as argument list. This is
valid C++, but not C, and clang-15 complains with -Wstrict-prototypes:
/usr/local/include/kclangc.h:261:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
double kcnan();
^
void
/usr/local/include/kclangc.h:268:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
double kcinf();
^
void
/usr/local/include/kclangc.h:1525:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
KCLIST* kclistnew();
^
void
Add the missing void.
PR: 268313
Diffstat (limited to 'sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp')
0 files changed, 0 insertions, 0 deletions