diff options
author | Colomban Wendling <ban@herbesfolles.org> | 2014-07-04 03:21:16 +0200 |
---|---|---|
committer | Colomban Wendling <ban@herbesfolles.org> | 2014-07-04 03:21:16 +0200 |
commit | 6a37b9b32b204a6cfdf2642312c5d416086b10bd (patch) | |
tree | ffcb29651eb6408a26513132a8e31a4f914e539d /src/PositionCache.cxx | |
parent | f59a22308ded2a4b2b93437dd4de7dd335b822ce (diff) | |
download | scintilla-mirror-6a37b9b32b204a6cfdf2642312c5d416086b10bd.tar.gz |
Provide complete C prototypes for C-exported functions
A C function declaration with an empty parameter list does not declare
a function taking no parameters, but simply does not declares what
parameters it takes (hence, it's not a complete prototype). To denote
an empty parameter list, C uses the special `void` value.
This avoids warnings when building C sources including Scintilla.h if
using e.g. GCC's `-Wstrict-prototypes` option, as well as actually
disallowing passing parameters to those functions.
Diffstat (limited to 'src/PositionCache.cxx')
0 files changed, 0 insertions, 0 deletions