From a12908ed90b9d7d4af11fa729874715062d8fb83 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 22 Jun 2016 16:10:20 +0200 Subject: [PATCH] src/include/h5core/h5_err.h: - declaration of h5_error() moved to this file --- src/include/h5core/h5_err.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/include/h5core/h5_err.h b/src/include/h5core/h5_err.h index a9fd0a9..f7fc80f 100644 --- a/src/include/h5core/h5_err.h +++ b/src/include/h5core/h5_err.h @@ -92,6 +92,17 @@ h5_abort_errorhandler ( va_list ap ); +h5_err_t +h5_error ( + const h5_err_t error_no, + const char *fmt, + ... + ) +#ifdef __GNUC__ +__attribute__ ((format (printf, 2, 3))) +#endif +; + #ifdef __cplusplus } #endif