chiark
/
gitweb
/
~mdw
/
udpkey
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Annotate `printf'-like functions for better warnings.
[udpkey]
/
udpkey.c
diff --git
a/udpkey.c
b/udpkey.c
index 17c6ed32426fa87a33eb5bdafcfc77b622346464..4d72079582f1623c66bc2ad444f4faff68083230 100644
(file)
--- a/
udpkey.c
+++ b/
udpkey.c
@@
-150,7
+150,7
@@
static int snarf(const char *name, void **p, size_t *sz)
* otherwise write to stderr. Don't use `%m' because that won't work when
* writing to stderr.
*/
-static void complain(int sev, const char *msg, ...)
+static void
PRINTF_LIKE(2, 3)
complain(int sev, const char *msg, ...)
{
va_list ap;