mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-23 23:30:34 +03:00
Merge pull request #8002 from Yay295/patch-1
Use (void) for empty function parameters
This commit is contained in:
commit
a838da7406
|
@ -185,7 +185,7 @@ put_pixel_32(Imaging im, int x, int y, const void *color) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ImagingAccessInit() {
|
ImagingAccessInit(void) {
|
||||||
#define ADD(mode_, get_pixel_, put_pixel_) \
|
#define ADD(mode_, get_pixel_, put_pixel_) \
|
||||||
{ \
|
{ \
|
||||||
ImagingAccess access = add_item(mode_); \
|
ImagingAccess access = add_item(mode_); \
|
||||||
|
|
|
@ -48,7 +48,7 @@ char *libjpeg_turbo_version = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
ImagingJpegUseJCSExtensions() {
|
ImagingJpegUseJCSExtensions(void) {
|
||||||
int use_jcs_extensions = 0;
|
int use_jcs_extensions = 0;
|
||||||
#ifdef JCS_EXTENSIONS
|
#ifdef JCS_EXTENSIONS
|
||||||
#if defined(LIBJPEG_TURBO_VERSION_NUMBER)
|
#if defined(LIBJPEG_TURBO_VERSION_NUMBER)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user