chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keys/tripe-keys.in, keys/tripe-keys.conf.5.in: Allow setting attributes.
[tripe]
/
priv
/
helper.c
diff --git
a/priv/helper.c
b/priv/helper.c
index c1401f12964da3b8f1538d8fee859757d35e3395..400fa28bcb2408631d939f54111657bb16d5c078 100644
(file)
--- a/
priv/helper.c
+++ b/
priv/helper.c
@@
-39,7
+39,7
@@
* Use: Reports a fatal error and quits.
*/
* Use: Reports a fatal error and quits.
*/
-static void lose(const char *excuse)
+static void
NORETURN
lose(const char *excuse)
{
moan("helper process bailing out: %s; error: %s",
excuse,
{
moan("helper process bailing out: %s; error: %s",
excuse,
@@
-49,7
+49,7
@@
static void lose(const char *excuse)
/*----- Diagnostic functions ----------------------------------------------*/
/*----- Diagnostic functions ----------------------------------------------*/
-/* --- @trace@ --- *
+/* --- @
i
trace@ --- *
*
* Arguments: @unsigned mask@ = trace mask to check
* @const char *fmt@ = message format
*
* Arguments: @unsigned mask@ = trace mask to check
* @const char *fmt@ = message format
@@
-62,7
+62,7
@@
static void lose(const char *excuse)
#ifndef NTRACE
#ifndef NTRACE
-static void itrace(unsigned mask, const char *fmt, ...)
+static void
PRINTF_LIKE(2, 3)
itrace(unsigned mask, const char *fmt, ...)
{
va_list ap;
dstr d = DSTR_INIT;
{
va_list ap;
dstr d = DSTR_INIT;
@@
-92,7
+92,7
@@
static void itrace(unsigned mask, const char *fmt, ...)
#define A_END ((char *)0)
#define A_END ((char *)0)
-static void warn(const char *fmt, ...)
+static void
EXECL_LIKE(0) IGNORABLE
warn(const char *fmt, ...)
{
va_list ap;
dstr d = DSTR_INIT, dd = DSTR_INIT;
{
va_list ap;
dstr d = DSTR_INIT, dd = DSTR_INIT;