aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2014-07-04 03:21:16 +0200
committerColomban Wendling <ban@herbesfolles.org>2014-07-04 03:21:16 +0200
commit010bd1520052c41148677d401f7c97701716caa5 (patch)
treeb51b62c6d82a1ed9551e0fbf5a3b60f238245279 /src/ViewStyle.cxx
parent0949d4e82feae6b7fe799cf35f145c91c19b6e02 (diff)
downloadscintilla-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/ViewStyle.cxx')
0 files changed, 0 insertions, 0 deletions