From 14f188ae396fd8a6d02ec883956363315b4b9713 Mon Sep 17 00:00:00 2001 From: Simon Urbanek Date: Tue, 28 Nov 2023 12:20:47 +1300 Subject: [PATCH] replace () with (void) --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.c b/src/common.c index 5be2d8c..ae5b9ea 100644 --- a/src/common.c +++ b/src/common.c @@ -33,7 +33,7 @@ static void TIFFErrorHandler_(const char* module, const char* fmt, va_list ap) { Rf_error("%s: %s", module, txtbuf); } -static void init_tiff() { +static void init_tiff(void) { if (need_init) { TIFFSetWarningHandler(TIFFWarningHandler_); TIFFSetErrorHandler(TIFFErrorHandler_);