~mdw
/
yaid
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaid.c: Use new mLib function annotations.
[yaid]
/
yaid.h
diff --git
a/yaid.h
b/yaid.h
index
a91ea27
..
0f4efd8
100644
(file)
--- a/
yaid.h
+++ b/
yaid.h
@@
-67,6
+67,7
@@
#include <mLib/dstr.h>
#include <mLib/fdflags.h>
#include <mLib/fwatch.h>
#include <mLib/dstr.h>
#include <mLib/fdflags.h>
#include <mLib/fwatch.h>
+#include <mLib/macros.h>
#include <mLib/mdwopt.h>
#include <mLib/quis.h>
#include <mLib/report.h>
#include <mLib/mdwopt.h>
#include <mLib/quis.h>
#include <mLib/report.h>
@@
-248,8
+249,8
@@
struct query {
/* Format and log MSG somewhere sensible, at the syslog(3) priority PRIO.
* Prefix it with a description of the query Q, if non-null.
*/
/* Format and log MSG somewhere sensible, at the syslog(3) priority PRIO.
* Prefix it with a description of the query Q, if non-null.
*/
-extern void
logmsg(const struct query */*q*/,
-
int /*prio*/, const char */*msg*/, ...);
+extern void
PRINTF_LIKE(3, 4)
+
logmsg(const struct query */*q*/,
int /*prio*/, const char */*msg*/, ...);
/*----- System-specific connection identification code --------------------*/
/*----- System-specific connection identification code --------------------*/