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