~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
struct/dstr-putf.c: Remove apparently redundant inclusion of <math.h>.
[mLib]
/
ui
/
report.h
diff --git
a/ui/report.h
b/ui/report.h
index
90128fb
..
4266cc2
100644
(file)
--- a/
ui/report.h
+++ b/
ui/report.h
@@
-32,6
+32,12
@@
extern "C" {
#endif
extern "C" {
#endif
+/*----- Header files ------------------------------------------------------*/
+
+#ifndef MLIB_MACROS_H
+# include "macros.h"
+#endif
+
/*----- Functions provided ------------------------------------------------*/
/* --- @moan@ --- *
/*----- Functions provided ------------------------------------------------*/
/* --- @moan@ --- *
@@
-44,7
+50,8
@@
* Use: Reports an error.
*/
* Use: Reports an error.
*/
-extern void moan(const char *f, ...);
+extern void PRINTF_LIKE(1, 2)
+ moan(const char *f, ...);
/* --- @die@ --- *
*
/* --- @die@ --- *
*
@@
-58,7
+65,8
@@
extern void moan(const char *f, ...);
* permanent.
*/
* permanent.
*/
-extern void die(int status, const char *f, ...);
+extern void PRINTF_LIKE(2, 3) NORETURN
+ die(int status, const char *f, ...);
/*----- That's all, folks -------------------------------------------------*/
/*----- That's all, folks -------------------------------------------------*/