use (void) for empty function parameters

This commit is contained in:
Yay295 2024-04-22 12:47:51 -05:00
parent 91776f2589
commit 7cb3efc762
2 changed files with 3 additions and 3 deletions

View File

@ -226,4 +226,4 @@ void
_ImagingAccessDelete(Imaging im, ImagingAccess access) {}
void
ImagingAccessFree() {}
ImagingAccessFree(void) {}

View File

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