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 | 010bd1520052c41148677d401f7c97701716caa5 (patch) | |
tree | b51b62c6d82a1ed9551e0fbf5a3b60f238245279 /src/LineMarker.cxx | |
parent | 0949d4e82feae6b7fe799cf35f145c91c19b6e02 (diff) | |
download | scintilla-mirror-010bd1520052c41148677d401f7c97701716caa5.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/LineMarker.cxx')
0 files changed, 0 insertions, 0 deletions