mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-23 07:10:33 +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
|
||||
ImagingAccessInit() {
|
||||
ImagingAccessInit(void) {
|
||||
#define ADD(mode_, get_pixel_, put_pixel_) \
|
||||
{ \
|
||||
ImagingAccess access = add_item(mode_); \
|
||||
|
|
|
@ -48,7 +48,7 @@ char *libjpeg_turbo_version = NULL;
|
|||
#endif
|
||||
|
||||
int
|
||||
ImagingJpegUseJCSExtensions() {
|
||||
ImagingJpegUseJCSExtensions(void) {
|
||||
int use_jcs_extensions = 0;
|
||||
#ifdef JCS_EXTENSIONS
|
||||
#if defined(LIBJPEG_TURBO_VERSION_NUMBER)
|
||||
|
|
Loading…
Reference in New Issue
Block a user