summaryrefslogtreecommitdiff
path: root/png/pngerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'png/pngerror.c')
-rw-r--r--png/pngerror.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/png/pngerror.c b/png/pngerror.c
index 29ebda794..1babf9f8d 100644
--- a/png/pngerror.c
+++ b/png/pngerror.c
@@ -20,13 +20,14 @@
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
-static PNG_FUNCTION(void, png_default_error,PNGARG((png_const_structrp png_ptr,
- png_const_charp error_message)),PNG_NORETURN);
+static PNG_FUNCTION(void /* PRIVATE */,
+png_default_error,(png_const_structrp png_ptr, png_const_charp error_message),
+ PNG_NORETURN);
#ifdef PNG_WARNINGS_SUPPORTED
static void /* PRIVATE */
-png_default_warning PNGARG((png_const_structrp png_ptr,
- png_const_charp warning_message));
+png_default_warning(png_const_structrp png_ptr,
+ png_const_charp warning_message);
#endif /* WARNINGS */
/* This function is called whenever there is a fatal error. This function