Merge pull request #8002 from Yay295/patch-1

Use (void) for empty function parameters
This commit is contained in:
Hugo van Kemenade 2024-09-07 08:37:50 +03:00 committed by GitHub
commit a838da7406
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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_); \

View File

@ -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)