mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 19:06: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) {}
|
||||
|
||||
void
|
||||
ImagingAccessFree() {}
|
||||
ImagingAccessFree(void) {}
|
||||
|
|
|
@ -1682,7 +1682,7 @@ ImagingConvertInPlace(Imaging imIn, const Mode *mode) {
|
|||
/* ------------------ */
|
||||
|
||||
void
|
||||
ImagingConvertInit() {
|
||||
ImagingConvertInit(void) {
|
||||
const struct Converter temp[] = {
|
||||
{IMAGING_MODE_1, IMAGING_MODE_L, bit2l},
|
||||
{IMAGING_MODE_1, IMAGING_MODE_I, bit2i},
|
||||
|
@ -1824,6 +1824,6 @@ ImagingConvertInit() {
|
|||
}
|
||||
|
||||
void
|
||||
ImagingConvertFree() {
|
||||
ImagingConvertFree(void) {
|
||||
free(converters);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user