mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-01 04:46:18 +03:00
use (void) for empty function parameters
This commit is contained in:
parent
91776f2589
commit
7cb3efc762
|
@ -226,4 +226,4 @@ void
|
||||||
_ImagingAccessDelete(Imaging im, ImagingAccess access) {}
|
_ImagingAccessDelete(Imaging im, ImagingAccess access) {}
|
||||||
|
|
||||||
void
|
void
|
||||||
ImagingAccessFree() {}
|
ImagingAccessFree(void) {}
|
||||||
|
|
|
@ -1682,7 +1682,7 @@ ImagingConvertInPlace(Imaging imIn, const Mode *mode) {
|
||||||
/* ------------------ */
|
/* ------------------ */
|
||||||
|
|
||||||
void
|
void
|
||||||
ImagingConvertInit() {
|
ImagingConvertInit(void) {
|
||||||
const struct Converter temp[] = {
|
const struct Converter temp[] = {
|
||||||
{IMAGING_MODE_1, IMAGING_MODE_L, bit2l},
|
{IMAGING_MODE_1, IMAGING_MODE_L, bit2l},
|
||||||
{IMAGING_MODE_1, IMAGING_MODE_I, bit2i},
|
{IMAGING_MODE_1, IMAGING_MODE_I, bit2i},
|
||||||
|
@ -1824,6 +1824,6 @@ ImagingConvertInit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ImagingConvertFree() {
|
ImagingConvertFree(void) {
|
||||||
free(converters);
|
free(converters);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user