~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release 2.4.1.
[mLib]
/
struct
/
dstr.h
diff --git
a/struct/dstr.h
b/struct/dstr.h
index
e1851a2
..
1c43cb7
100644
(file)
--- a/
struct/dstr.h
+++ b/
struct/dstr.h
@@
-56,6
+56,10
@@
# include "arena.h"
#endif
# include "arena.h"
#endif
+#ifndef MLIB_MACROS_H
+# include "macros.h"
+#endif
+
/*----- Data structures ---------------------------------------------------*/
typedef struct dstr {
/*----- Data structures ---------------------------------------------------*/
typedef struct dstr {
@@
-225,7
+229,8
@@
extern int dstr_vputf(dstr */*d*/, const char */*p*/, va_list */*ap*/);
* itself is malicious.
*/
* itself is malicious.
*/
-extern int dstr_putf(dstr */*d*/, const char */*p*/, ...);
+extern int PRINTF_LIKE(2, 3)
+ dstr_putf(dstr */*d*/, const char */*p*/, ...);
/* --- @dstr_putd@ --- *
*
/* --- @dstr_putd@ --- *
*