chiark
/
gitweb
/
~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.c
diff --git
a/yaid.c
b/yaid.c
index 232a7796997cc6f48746fc3b9ed0165c7bf34310..a9793a0ae776412d9cc7aaba28ad4bd297d5c7b0 100644
(file)
--- a/
yaid.c
+++ b/
yaid.c
@@
-298,7
+298,8
@@
static void done_client_write(int err, void *p)
/* Format the message FMT and queue it to be sent to the client. Client
* input will be disabled until the write completes.
*/
/* Format the message FMT and queue it to be sent to the client. Client
* input will be disabled until the write completes.
*/
-static void write_to_client(struct client *c, const char *fmt, ...)
+static void PRINTF_LIKE(2, 3)
+ write_to_client(struct client *c, const char *fmt, ...)
{
va_list ap;
char buf[WRBUFSZ];
{
va_list ap;
char buf[WRBUFSZ];
@@
-909,7
+910,7
@@
static int make_listening_socket(const struct addrops *ao, int port)
}
/* Quit because of a fatal signal. */
}
/* Quit because of a fatal signal. */
-static void quit(int sig, void *p)
+static void
NORETURN
quit(int sig, void *p)
{
const char *signame = p;
{
const char *signame = p;